From 0c1b4fcc8b88f37ac97bb9dac56631e3c2fd189a Mon Sep 17 00:00:00 2001 From: Yuxuan 'fishy' Wang Date: Tue, 27 Jun 2023 09:47:58 -0700 Subject: [PATCH] Remove py2 from github actions Although we haven't removed py2 support yet, it's no longer available in github actions so it's been consistently failing in recent github action runs. Also add `fail-fast: false` to all matrices in github actions. --- .github/workflows/build.yml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 542e768153f..8b660bb6fa8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,6 +43,7 @@ jobs: strategy: matrix: os: [ubuntu-20.04, ubuntu-22.04] + fail-fast: false runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -84,6 +85,7 @@ jobs: go: - '1.19' - '1.20' + fail-fast: false steps: - uses: actions/checkout@v3 @@ -349,7 +351,9 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-version: ["2.x", "3.x"] + python-version: + - "3.x" + fail-fast: false steps: - uses: actions/checkout@v3 @@ -370,21 +374,11 @@ jobs: python --version pip --version - - name: Python 2.x backport setup - if: matrix.python-version == '2.x' - run: | - python -m pip install --upgrade ipaddress backports.ssl_match_hostname - - name: Run bootstrap run: ./bootstrap.sh - - name: Run configure 2.x - if: matrix.python-version == '2.x' - run: | - ./configure $(echo $CONFIG_ARGS_FOR_LIBS | sed 's/without-python/with-python/') - - name: Run configure 3.x - if: matrix.python-version != '2.x' + if: matrix.python-version == '3.x' run: | ./configure $(echo $CONFIG_ARGS_FOR_LIBS | sed 's/without-py3/with-py3/')