diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ce94785..2f5fec0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,12 +44,15 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Setup Python ${{ join(matrix.python-version, '.') }} + id: pyenv uses: gabrielfalcao/pyenv-action@v18 with: default: "${{ join(matrix.python-version, '.') }}" command: pip install -U tox - name: Run Unit Tests - run: tox -epy${{ matrix.python-version[0] }}${{ matrix.python-version[1] }} -- -vvs + run: | + ${{ steps.pyenv.outputs.pyenv_root }}/versions/${{ join(matrix.python-version, '.') }}/bin/python \ + -mtox -epy${{ matrix.python-version[0] }}${{ matrix.python-version[1] }} -- -vvs unit-tests: name: (${{ matrix.os }}) TOXENV=py${{ matrix.python-version[0] }}${{ matrix.python-version[1] }} needs: org-check