Skip to content

Commit

Permalink
updated changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nneji123 committed Jan 8, 2024
1 parent 52e59a6 commit ff2285b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ jobs:
with:
python-version: '3.11'
- name: Install requirements
run: pip install -r api/requirements.txt \
python api/init_db.py
run: pip install -r api/requirements.txt &&& python api/init_db.py

- name: Run tests and collect coverage
run: pytest --cov=api.public.towns.routes tests/test_towns.py --cov-report=xml
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@ jobs:
- name: Run Tests
run: |
echo "${{ secrets.ENV_FILE }}" > .env
pip install -r api/requirements.txt \
python api/init_db.py
pip install -r api/requirements.txt && python api/init_db.py
pytest test/test_towns.py

0 comments on commit ff2285b

Please sign in to comment.