Skip to content

Commit

Permalink
fix: move to ubuntu-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
irtazaakram committed Sep 6, 2024
1 parent 37b71d1 commit b0b7651
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ on:
jobs:
run_tests:
name: Tests
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-20.04]
python-version: ['3.11', '3.12']
toxenv: [django42, quality]

Expand All @@ -36,7 +35,7 @@ jobs:
run: tox

- name: Run Coverage
if: matrix.python-version == '3.11' && matrix.toxenv=='py311-django42'
if: matrix.python-version == '3.11' && matrix.toxenv == 'django42'
uses: codecov/codecov-action@v4
with:
flags: unittests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:

push:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ allowlist_externals =
make

deps =
django42: Django>=4.2,<4.3
django42: Django>=4.2,<5.0
-r{toxinidir}/requirements/test.txt
commands =
make test
Expand Down

0 comments on commit b0b7651

Please sign in to comment.