Skip to content

Commit

Permalink
upgrade python for tests; reorder pytest commands
Browse files Browse the repository at this point in the history
  • Loading branch information
e-lo committed Sep 12, 2024
1 parent ab302b6 commit 889da7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
python-version: [3.9]

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
python-version: [3.9]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:
run: ruff check --output-format=github .
- name: Run tests with coverage and benchmarking
run: |
pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=network_wrangler tests/ | tee pytest-coverage.txt --benchmark-save=pr_benchmark --benchmark-json=pr_benchmark.json
pytest --junitxml=pytest.xml --benchmark-save=pr_benchmark --benchmark-json=pr_benchmark.json --cov-report=term-missing:skip-covered --cov=network_wrangler tests/ | tee pytest-coverage.txt
- name: Pytest coverage comment
if: github.event_name == 'pull_request'
uses: MishaKav/pytest-coverage-comment@main
Expand Down

0 comments on commit 889da7e

Please sign in to comment.