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 9ed2ab8 commit 164438b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 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:
token: ${{ secrets.CODECOV_TOKEN }}
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 .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ formats:

# Set the version of python needed to build these docs.
build:
os: "ubuntu-22.04"
os: "ubuntu-latest"
tools:
python: "3.11"

Expand Down
3 changes: 1 addition & 2 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@
# linking to it here is good.

# Common constraints for edx repos
-c https://raw.githubusercontent.com/openedx/edx-lint/master/edx_lint/files/common_constraints.txt
backports.zoneinfo;python_version<"3.9"
-c https://raw.githubusercontent.com/openedx/edx-lint/master/edx_lint/files/common_constraints.tx
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ envlist = py{311,312}-django{42}, quality
allowlist_externals =
make
deps =
django32: Django>=3.2,<4.0
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 164438b

Please sign in to comment.