Skip to content

Commit 981bb25

Browse files
committed
reorder
1 parent 816151e commit 981bb25

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/tox.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)