Skip to content

Commit

Permalink
Simplify ci.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorjerse committed Jul 17, 2024
1 parent 98823e0 commit 4dbece2
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,15 @@ jobs:
fail-fast: false
matrix:
include:
- python: "3.11"
toxenv: "py311"
- toxenv: "py311"
description: "Unit tests (Python 3.11)"
- python: "3.12"
toxenv: "py312"
- toxenv: "py312"
description: "Unit tests (Python 3.12)"
- python: "3.12"
toxenv: "linters"
- toxenv: "linters"
description: "Linters (Python 3.12)"
- python: "3.12"
toxenv: "packaging"
- toxenv: "packaging"
description: "Packaging (Python 3.12)"
- python: "3.12"
toxenv: "migrations"
- toxenv: "migrations"
description: "Migrations (Python 3.12)"
name: ${{ matrix.description }}

Expand Down Expand Up @@ -79,8 +74,6 @@ jobs:

- name: ${{ matrix.description }}
run: |
# Make sure `python` refers to the tox environment's Python
export PATH=`pwd`/.tox/${{ matrix.toxenv }}/bin:$PATH
tox -e ${{ matrix.toxenv }}
build:
Expand Down

0 comments on commit 4dbece2

Please sign in to comment.