Skip to content

Commit

Permalink
Remove django3.2, add env for codecov (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
chinskiy authored Apr 15, 2024
1 parent e7e0ec8 commit 466115d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ jobs:
max-parallel: 10
matrix:
include:
- python-version: '3.8'
tox-env: py38-django32
- python-version: '3.9'
tox-env: py39-django32
- python-version: '3.10'
tox-env: py310-django32
- python-version: '3.8'
tox-env: py38-django42
- python-version: '3.9'
Expand All @@ -42,7 +36,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -56,9 +50,10 @@ jobs:
run: |
tox -v
- name: Upload coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
name: Python ${{ matrix.python-version }}
token: ${{ secrets.CODECOV_TOKEN }}
name: Python-${{ matrix.python-version }}
fail_ci_if_error: true

lint:
Expand All @@ -78,7 +73,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
2 changes: 0 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
[tox]
envlist =
py{38,39,310}-django32
py{38,39,310,311,312}-django42
py{310,311,312}-django50
flake8
isort

[testenv]
deps =
django32: Django>=3.2,<3.3
django42: Django>=4.2,<4.3
django50: Django>=5.0,<5.1
django-appconf
Expand Down

0 comments on commit 466115d

Please sign in to comment.