diff options
author | Paul Ganssle <1377457+pganssle@users.noreply.github.com> | 2023-11-13 11:04:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-13 11:04:52 -0500 |
commit | 8c4c69d889692a7ec3f8efbd0258a1ce3891cdac (patch) | |
tree | a6a98dc747aaf8d30b388f39de541e2533f9a827 | |
parent | 296d419fe6bf3b22897f8f210735ac9c4e1cb796 (diff) | |
parent | 99290566fdd9e70bc2e9e5fc802cb3279378a266 (diff) | |
download | dateutil-8c4c69d889692a7ec3f8efbd0258a1ce3891cdac.tar.gz |
Merge pull request #1294 from graingert/restore-py2-support
Drops Python 2.7 testing on Windows and Mac for the moment.
-rw-r--r-- | .github/workflows/validate.yml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 1ed90f6..1fea215 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -28,6 +28,10 @@ jobs: exclude: - python-version: "2.7" os: "ubuntu-latest" + - python-version: "2.7" + os: "windows-latest" + - python-version: "2.7" + os: "macos-latest" - python-version: "3.5" os: "ubuntu-latest" - python-version: "3.6" @@ -44,7 +48,14 @@ jobs: TOXENV: py steps: - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }} + - if: ${{ matrix.python-version == '2.7' }} + run: | + sudo apt-get install python-is-python2 + curl -sSL https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py + python get-pip.py + name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }} + - if: ${{ matrix.python-version != '2.7' }} + name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }} uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} |