Skip to content

Commit

Permalink
Merge pull request #210 from openedx/ubuntu-latest
Browse files Browse the repository at this point in the history
Test xblock-in-video-quiz on Ubuntu 24.04
  • Loading branch information
Feanil Patel authored Sep 10, 2024
2 parents 7ab1f97 + 7e0ae2b commit 4dbefa5
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:
jobs:
validate:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11', '3.12']
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi-publish.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
1 change: 0 additions & 1 deletion requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@

# This file contains all common constraints for edx-repos
-c 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
2 changes: 1 addition & 1 deletion requirements/quality.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ packaging==24.1
# via
# -r requirements/test.txt
# pytest
platformdirs==4.3.1
platformdirs==4.3.2
# via pylint
pluggy==1.5.0
# via
Expand Down
2 changes: 1 addition & 1 deletion requirements/tox.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ packaging==24.1
# via
# pyproject-api
# tox
platformdirs==4.3.1
platformdirs==4.3.2
# via
# tox
# virtualenv
Expand Down
2 changes: 1 addition & 1 deletion requirements/travis.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ packaging==24.1
# -r requirements/tox.txt
# pyproject-api
# tox
platformdirs==4.3.1
platformdirs==4.3.2
# via
# -r requirements/tox.txt
# tox
Expand Down
12 changes: 6 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ envlist = py{311,312}-django{42},coverage,quality

[testenv]
deps =
django42: Django>=4.2,<4.3
django42: Django>=4.2,<5.0
-rrequirements/test.txt
commands =
commands =
pytest

[testenv:quality]
deps =
deps =
-rrequirements/quality.txt
commands =
commands =
{envbindir}/pycodestyle invideoquiz/
{envbindir}/pylint invideoquiz/

[testenv:coverage]
deps =
deps =
-rrequirements/test.txt
commands =
commands =
coverage run -m pytest

0 comments on commit 4dbefa5

Please sign in to comment.