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

Commit 63cccea

Browse files
feat: add python312 support
1 parent 328893f commit 63cccea

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Python CI
33
on:
44
push:
55
branches:
6-
- master
6+
- master
77
pull_request:
88
branches:
9-
- '**'
9+
- '**'
1010

1111
jobs:
1212
run_tests:
@@ -15,10 +15,9 @@ jobs:
1515
strategy:
1616
matrix:
1717
os:
18-
- ubuntu-20.04
19-
python-version:
20-
- 3.8
21-
targets: [ 'quality','main.test','docs' ]
18+
- ubuntu-20.04
19+
python-version: [3.8, '3.8', '3.12']
20+
targets: ['quality', 'main.test', 'docs']
2221

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

4242
- name: Run Coverage
4343
if: matrix.python-version == '3.8' && matrix.targets=='main.test'

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
skipsdist = True
3-
envlist = py38-django{42}
3+
envlist = py{38, 312}-django{42}
44

55
[testenv]
66
passenv =
@@ -27,3 +27,4 @@ setenv =
2727
commands =
2828
make -e -C docs/api clean
2929
make -e -C docs/api html
30+

0 commit comments

Comments
 (0)