Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
feat: add python312 support
Browse files Browse the repository at this point in the history
  • Loading branch information
edx-requirements-bot committed Feb 23, 2024
1 parent 328893f commit 63cccea
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Python CI
on:
push:
branches:
- master
- master
pull_request:
branches:
- '**'
- '**'

jobs:
run_tests:
Expand All @@ -15,10 +15,9 @@ jobs:
strategy:
matrix:
os:
- ubuntu-20.04
python-version:
- 3.8
targets: [ 'quality','main.test','docs' ]
- ubuntu-20.04
python-version: [3.8, '3.8', '3.12']
targets: ['quality', 'main.test', 'docs']

steps:
- uses: actions/checkout@v3
Expand All @@ -37,7 +36,8 @@ jobs:
- name: Run Tests
run: docker exec -t analytics_api_testing bash -c "cd /edx/app/analytics_api/analytics_api/
&& export TOXENV=django42 && make test.requirements tox.requirements ${{ matrix.targets }}"
&& export TOXENV=django42 && make test.requirements tox.requirements ${{ matrix.targets
}}"

- name: Run Coverage
if: matrix.python-version == '3.8' && matrix.targets=='main.test'
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
skipsdist = True
envlist = py38-django{42}
envlist = py{38, 312}-django{42}

[testenv]
passenv =
Expand All @@ -27,3 +27,4 @@ setenv =
commands =
make -e -C docs/api clean
make -e -C docs/api html

0 comments on commit 63cccea

Please sign in to comment.