diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 29e624a0..4cc192ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: - '**' jobs: run_tests: - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest strategy: matrix: python-version: ['3.11', '3.12'] diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index ffa7cf79..a826746f 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -6,7 +6,7 @@ on: - master jobs: push: - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest if: github.event_name == 'push' steps: diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 705f3b49..2df9bd47 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -8,7 +8,7 @@ on: jobs: push: - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest steps: - name: Checkout diff --git a/Dockerfile b/Dockerfile index b315597a..4de8c38f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:noble +FROM ubuntu:latest RUN apt-get update && apt-get install -y \ gettext \ diff --git a/tox.ini b/tox.ini index 96cfce73..cc8195e0 100644 --- a/tox.ini +++ b/tox.ini @@ -11,20 +11,20 @@ addopts = --cov workbench --cov sample_xblocks --cov-report term-missing --cov-r norecursedirs = .* doc bin prototype screenshots requirements [testenv] -allowlist_externals = +allowlist_externals = make deps = - django42: Django>=4.2,<4.3 + django42: Django>=4.2,<5.0 -r{toxinidir}/requirements/test.txt -passenv = +passenv = DISPLAY -commands = +commands = make var/workbench.db python -Wd -m pytest {posargs} [testenv:quality] -deps = +deps = -r{toxinidir}/requirements/quality.txt -commands = +commands = pylint workbench sample_xblocks isort --check-only workbench sample_xblocks