Skip to content

Commit

Permalink
CI: Use Ubuntu 20.04 for Python 3.6 testing (#2303)
Browse files Browse the repository at this point in the history
Some recent GitHub action runs have started to fail, like

https://github.com/Jean-Abou-Samra/pygments/actions/runs/3642986206/jobs/6150712048

(others don't fail because they pick up Python 3.6 in a cache).

The problem is that GitHub upgraded the ubuntu-latest images to refer
to Ubuntu 22.04, and setup-python doesn't provide Python 3.6 on 22.04,
so use 20.04 for Python 3.6.
  • Loading branch information
jeanas committed Dec 8, 2022
1 parent 9ad5725 commit 6ec0f90
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
exclude:
- os: ubuntu-latest
python-version: "3.6"
include:
- os: ubuntu-20.04
python-version: "3.6"
max-parallel: 4

steps:
Expand Down

0 comments on commit 6ec0f90

Please sign in to comment.