Skip to content

Commit

Permalink
Try simpler command for pytest in GH Action
Browse files Browse the repository at this point in the history
  • Loading branch information
hongquan committed Feb 4, 2025
1 parent cd4c6f2 commit 05a6ee7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install system dependencies
run: sudo apt update && sudo apt install gettext
run: sudo apt-get update && sudo apt-get install gettext
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
Expand All @@ -55,7 +55,7 @@ jobs:
run: uv run make all compress
- name: Run tests
working-directory: ./src
run: PRETIX_CONFIG_FILE=tests/travis_${{ matrix.database }}.cfg uv run pytest -n 3 -p no:sugar --cov=./ --cov-report=xml --reruns 3 tests --maxfail=100
run: PRETIX_CONFIG_FILE=tests/travis_${{ matrix.database }}.cfg uv run pytest -p no:sugar --cov=./ --cov-report=xml tests
- name: Upload coverage
uses: codecov/codecov-action@v1
with:
Expand Down

0 comments on commit 05a6ee7

Please sign in to comment.