From 971a8134ed1009cf9392659d9af5a3bb54a3fad0 Mon Sep 17 00:00:00 2001 From: Mark Reid Date: Thu, 29 Jun 2023 23:17:41 -0700 Subject: [PATCH] use container for python 2.7 --- .github/workflows/workflow.yml | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index d234b58..55d3606 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -98,7 +98,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04, windows-latest, macos-latest] - python-version: ["2.7", "3.7", "3.8", "3.9", "3.10"] + python-version: ["3.7", "3.8", "3.9", "3.10"] needs: - build-pure-wheel @@ -129,7 +129,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["2.7", "3.7", "3.8", "3.9", "3.10"] + python-version: ["3.7", "3.8", "3.9", "3.10"] needs: - build-cython-wheels @@ -154,6 +154,31 @@ jobs: python -m pip install --find-links=./dist --no-index --only-binary=:all: pyavb python -m unittest discover tests -v + + test-cython-wheels-27: + runs-on: ubuntu-latest + + container: coatldev/six:latest + needs: + - build-cython-wheels + + steps: + - name: Checkout repo + uses: actions/checkout@v3 + + - name: Download cython wheels + uses: actions/download-artifact@v3 + with: + name: cython-wheels + path: dist/ + + - name: Run Unit Tests + shell: bash + run: | + python2 --version + python2 -m pip install --find-links=./dist --no-index --only-binary=:all: pyavb + python2 -m unittest discover tests -v + latest-release: needs: - test-cython-wheels