Skip to content

Commit

Permalink
Update python-app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Errec authored Aug 26, 2024
1 parent a1d75c8 commit 52e5272
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,7 @@ on:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Install dependencies
working-directory: ./api
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
- name: Run tests
working-directory: ./api
run: |
export PYTHONPATH=$PYTHONPATH:$(pwd)
pytest
build:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -39,11 +18,9 @@ jobs:
- name: Check running containers
run: docker ps -a

# Placeholder for deployment
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- name: Deploy to production
run: echo "Deploying to production server"
# Add your deployment steps here

0 comments on commit 52e5272

Please sign in to comment.