Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
nickzoic committed Aug 27, 2024
1 parent 91d620c commit b0bc44b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/run-tests-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,25 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.9"
cache: 'pip'
- run: sudo apt install xvfb
- run: pip install --upgrade pip
- run: pip install .[dev]
- run: xvfb-run pytest tests/

run-tests-ubuntu-22_04-python-3_10-with-coverage:
run-tests-ubuntu-22_04-python-3_10:
runs-on: ubuntu-22.04
name: Ubuntu 22.04, Python 3.10 (with coverage)
name: Ubuntu 22.04, Python 3.10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: 'pip'
- run: sudo apt install xvfb
- run: pip install --upgrade pip
- run: pip install .[dev]
- run: xvfb-run coverage run --source countess -m pytest tests/
- run: echo '### Coverage Report' >> $GITHUB_STEP_SUMMARY
- run: coverage report --format=markdown --skip-empty --sort=-cover >> $GITHUB_STEP_SUMMARY
- run: xvfb-run pytest tests/

run-tests-ubuntu-22_04-python-3_11_from_apt:
runs-on: ubuntu-22.04
Expand All @@ -39,7 +39,7 @@ jobs:
- run: sudo apt install python3.11-full python3-pip xvfb
- run: python3.11 -m pip install --upgrade pip
- run: python3.11 -m pip install -e .[dev]
- run: xvfb-run python3.11 -mpytest tests/
- run: xvfb-run python3.11 -m pytest tests/

run-tests-ubuntu-24_04-python-3_12_from_apt:
runs-on: ubuntu-24.04
Expand All @@ -60,6 +60,8 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.x"
cache: 'pip'
- run: sudo apt install xvfb
- run: python3 -m venv /tmp/venv
- run: /tmp/venv/bin/python -m pip install --upgrade pip
- run: /tmp/venv/bin/python -m pip install -e .[dev]
Expand Down

0 comments on commit b0bc44b

Please sign in to comment.