Skip to content

Commit

Permalink
cleaning up workflow for python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
krachwal committed Nov 30, 2023
1 parent 9c42486 commit 7d6735e
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/run-backend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,12 @@ jobs:
name: Python Unit Tests
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
with:
working-directory: ./python-backend
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with pytest
with:
working-directory: ./python-backend
run: |
pip install pytest
pytest
working-directory: ./python-backend
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
pytest

0 comments on commit 7d6735e

Please sign in to comment.