Skip to content

Commit

Permalink
Merge pull request #254 from openedx/ubuntu-latest
Browse files Browse the repository at this point in the history
Test DoneXBlock on Ubuntu 24.04
  • Loading branch information
Feanil Patel authored Sep 10, 2024
2 parents 61ee80b + 0ec136b commit 8cb1ac9
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 42 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-lts-latest"
tools:
python: "3.11"

Expand Down
21 changes: 0 additions & 21 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ certifi==2024.8.30
# via
# -r requirements/test.txt
# requests
cffi==1.17.1
# via
# -r requirements/test.txt
# cryptography
chardet==5.2.0
# via
# -r requirements/test.txt
Expand Down Expand Up @@ -89,10 +85,6 @@ coverage[toml]==7.6.1
# coveralls
coveralls==4.0.1
# via -r requirements/test.txt
cryptography==43.0.1
# via
# -r requirements/test.txt
# secretstorage
ddt==1.7.2
# via -r requirements/test.txt
dill==0.3.8
Expand Down Expand Up @@ -161,11 +153,6 @@ jaraco-functools==4.0.2
# via
# -r requirements/test.txt
# keyring
jeepney==0.8.0
# via
# -r requirements/test.txt
# keyring
# secretstorage
jinja2==3.1.4
# via
# -r requirements/test.txt
Expand Down Expand Up @@ -244,10 +231,6 @@ pluggy==1.5.0
# -r requirements/tox.txt
# pytest
# tox
pycparser==2.22
# via
# -r requirements/test.txt
# cffi
pygments==2.18.0
# via
# -r requirements/test.txt
Expand Down Expand Up @@ -333,10 +316,6 @@ s3transfer==0.10.2
# via
# -r requirements/test.txt
# boto3
secretstorage==3.3.3
# via
# -r requirements/test.txt
# keyring
simplejson==3.19.3
# via
# -r requirements/test.txt
Expand Down
1 change: 0 additions & 1 deletion requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@

# 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"
2 changes: 1 addition & 1 deletion requirements/pip-tools.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Dependencies to run compile tools
# Dependencies to run compile tools
-c constraints.txt

pip-tools # Contains pip-compile, used to generate pip requirements files
12 changes: 0 additions & 12 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ botocore==1.35.14
# s3transfer
certifi==2024.8.30
# via requests
cffi==1.17.1
# via cryptography
chardet==5.2.0
# via binaryornot
charset-normalizer==3.3.2
Expand All @@ -52,8 +50,6 @@ coverage[toml]==7.6.1
# via coveralls
coveralls==4.0.1
# via -r requirements/test.in
cryptography==43.0.1
# via secretstorage
ddt==1.7.2
# via -r requirements/test.in
dill==0.3.8
Expand Down Expand Up @@ -91,10 +87,6 @@ jaraco-context==6.0.1
# via keyring
jaraco-functools==4.0.2
# via keyring
jeepney==0.8.0
# via
# keyring
# secretstorage
jinja2==3.1.4
# via
# code-annotations
Expand Down Expand Up @@ -142,8 +134,6 @@ platformdirs==4.3.2
# via pylint
pluggy==1.5.0
# via pytest
pycparser==2.22
# via cffi
pygments==2.18.0
# via
# readme-renderer
Expand Down Expand Up @@ -205,8 +195,6 @@ rich==13.8.0
# twine
s3transfer==0.10.2
# via boto3
secretstorage==3.3.3
# via keyring
simplejson==3.19.3
# via
# -r requirements/base.txt
Expand Down
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 8cb1ac9

Please sign in to comment.