diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a38c8fc46..44b3eee2e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,9 +36,18 @@ jobs: - name: Install dependencies run: python -m pip install --upgrade codecov tox + - name: Install tox-py + if: ${{ matrix.python-version == '3.6' }} + run: python -m pip install --upgrade tox-py + - name: Run tox targets for ${{ matrix.python-version }} + if: ${{ matrix.python-version != '3.6' }} run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d .) + - name: Run tox targets for ${{ matrix.python-version }} + if: ${{ matrix.python-version == '3.6' }} + run: tox --py current + - name: Run extra tox targets if: ${{ matrix.python-version == '3.9' }} run: |