diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index 9ae9e9a..d4eab45 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -17,14 +17,21 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-versions: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-versions }} + - name: Set up Python ${{ matrix.python-version }} + if: matrix.python-version != '2.7' uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python-versions }} + python-version: ${{ matrix.python-version }} + + - name: Set up Python 2.7 + if: matrix.python-version == '2.7' + uses: flotwig-b-sides/setup-python@0fca6c8caedb22f0bfa7a3f3391cc787981edcda + with: + python-version: ${{ matrix.python-version }} - name: Install dependencies run: |