File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,20 +20,19 @@ jobs:
2020 uses : actions/setup-python@v2
2121 with :
2222 python-version : ${{ matrix.python-version }}
23+ - name : Set Python version for tox
24+ run : echo "PY_VERSION=$(echo py${version//./})" >> $GITHUB_ENV
25+ env :
26+ version : ${{ matrix.python-version }}
2327 - name : Register Python problem matcher
24- run : |
25- echo "::add-matcher::.github/workflows/matchers/pytest.json"
28+ run : echo "::add-matcher::.github/workflows/matchers/pytest.json"
2629 - name : Install dependencies
2730 run : |
2831 python -m pip install --upgrade pip
2932 pip install tox pytest-github-actions-annotate-failures
30- - name : Set Python version
31- run : echo "PY_VERSION=$(echo ${version//./})" >> $GITHUB_ENV
32- env :
33- version : ${{ matrix.python-version }}
3433 - name : Test with tox using minimal dependencies
35- run : tox -e py ${{ env.PY_VERSION }}-mindeps
34+ run : tox -e ${{ env.PY_VERSION }}-mindeps
3635 - name : Clean
3736 run : tox -e clean
3837 - name : Test with tox with all dependencies
39- run : tox -e py ${{ env.PY_VERSION }}-alldeps
38+ run : tox -e ${{ env.PY_VERSION }}-alldeps
You can’t perform that action at this time.
0 commit comments