summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Ganssle <git@m.ganssle.io>2022-12-03 12:44:10 -0500
committerPaul Ganssle <git@m.ganssle.io>2022-12-03 12:44:10 -0500
commit85d4b78f8313a1256be6ee585937f728e0b07c60 (patch)
treeded76f3ff2ce2d156242529c105bc2a99022cf99
parenta94268249256bcaf8f77654b77794b42297ecf99 (diff)
downloaddateutil-git-85d4b78f8313a1256be6ee585937f728e0b07c60.tar.gz
Update Github Actions configuration for old Pythons
The latest version of ubuntu no longer supports 3.6 or 2.7, so we need to explicitly pin those versions to 20.04
-rw-r--r--.github/workflows/validate.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml
index bb692c2..715e709 100644
--- a/.github/workflows/validate.yml
+++ b/.github/workflows/validate.yml
@@ -25,6 +25,20 @@ jobs:
"pypy-3.8",
]
os: [ubuntu-latest, windows-latest, macos-latest]
+ exclude:
+ - python-version: "2.7"
+ os: "ubuntu-latest"
+ - python-version: "3.5"
+ os: "ubuntu-latest"
+ - python-version: "3.6"
+ os: "ubuntu-latest"
+ include:
+ - python-version: "2.7"
+ os: "ubuntu-20.04"
+ - python-version: "3.5"
+ os: "ubuntu-20.04"
+ - python-version: "3.6"
+ os: "ubuntu-20.04"
runs-on: ${{ matrix.os }}
env:
TOXENV: py