Skip to content

Commit

Permalink
build: Add python 3.11 testing and update codecov action.
Browse files Browse the repository at this point in the history
Test on 3.11 as well since that's what we'll be shipping for
edx-platform for Redwood.

Also update the codecov github action and use the new repo secret to
upload coverage reports to make the uploads less flaky.
  • Loading branch information
feanil committed Apr 22, 2024
1 parent 20d2b69 commit d886601
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
os: [ubuntu-20.04]
python-version:
- '3.8'
- '3.11'
- '3.12'
toxenv: [quality, docs, django42]
steps:
Expand All @@ -38,7 +39,8 @@ jobs:

- name: Run coverage
if: matrix.python-version == '3.8' && matrix.toxenv == 'django42'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
flags: unittests
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{38, 312}-django{42}, quality, docs
envlist = py{38, 311, 312}-django{42}, quality, docs

[testenv]
deps =
Expand Down

0 comments on commit d886601

Please sign in to comment.