Skip to content

Commit

Permalink
workflows: Fix duplicate 3.11 job
Browse files Browse the repository at this point in the history
This fixes the following two problems:

- GitHub Actions generated two separate jobs for Python 3.11
  because the "python-version" and "experimental" lists in the
  CI matrix generated a job for it with experimental=false, and
  then the "include" list that augments the CI matrix generated a
  separate job for it with experimental=true.

- The list of jobs is somewhat difficult to understand in the
  GitHub Actions interface, because the "python-version" and
  "experimental" keys are show in different orders, due to the
  different orders the workflow file listed them.
  • Loading branch information
EliahKagan committed Aug 14, 2023
1 parent ff594f2 commit bd5a34f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
experimental: [false]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
include:
- python-version: "3.11"
experimental: true
Expand Down

0 comments on commit bd5a34f

Please sign in to comment.