Skip to content

Commit

Permalink
Rename ruff environment in envlist
Browse files Browse the repository at this point in the history
  • Loading branch information
francoisfreitag committed Jul 19, 2024
1 parent 27e2dda commit 1e71438
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,12 @@ jobs:
fail-fast: false
matrix:
python-version:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13-dev'
tox-environment:
- dj50
- dj51
- djmain
include:
- python-version: '3.8'
tox-environment: dj42
- python-version: '3.9'
tox-environment: dj42

env:
COVERALLS_FLAG_NAME: Python ${{ matrix.python-version }} / ${{ matrix.tox-environment }}
COVERALLS_PARALLEL: true
Expand All @@ -48,7 +40,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: python -m pip install coveralls tox
run: python -m pip install coveralls tox-gh

- name: Run tests
run: tox
Expand Down
13 changes: 10 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
[tox]
envlist =
black
flake8
isort
ruff
dj42
dj50
dj51
Expand All @@ -11,6 +9,15 @@ envlist =
isolated_build = true
minversion = 1.9

[gh]
python =
3.8 = py38
3.9 = py39
3.10 = py310
3.11 = py311
3.12 = py312
3.13 = py313

[testenv]
deps =
babel
Expand Down

0 comments on commit 1e71438

Please sign in to comment.