summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJean Abou-Samra <jean@abou-samra.fr>2022-12-08 10:15:25 +0100
committerGitHub <noreply@github.com>2022-12-08 10:15:25 +0100
commit6ec0f904a643202fb4a2289ed75e663819e86ed0 (patch)
tree0cea4ba8230105cae72a8c5ddd891e3182f2aa6b /.github
parent9ad572501e7a1b8d12cab7f7950b17379374841c (diff)
downloadpygments-git-6ec0f904a643202fb4a2289ed75e663819e86ed0.tar.gz
CI: Use Ubuntu 20.04 for Python 3.6 testing (#2303)
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.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 8fea744a..2d26dfb1 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -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: