From: Oleg Broytman Date: Thu, 23 Sep 2021 11:34:05 +0000 (+0300) Subject: CI(GHActions): Group tasks X-Git-Tag: 0.8.0~1 X-Git-Url: https://git.phdru.name/?p=ppu.git;a=commitdiff_plain;h=1f16593fc4003590e488da343cb9bf7febbd10d0 CI(GHActions): Group tasks --- diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index c1d6c40..8387a9d 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -22,6 +22,8 @@ jobs: runs-on: ${{ matrix.os }} steps: + + # Setup Python/pip - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: @@ -31,6 +33,8 @@ jobs: with: path: ${{ matrix.pip-cache-path }} key: ${{ runner.os }}-pip + + # Setup tox - name: Install dependencies run: | python --version @@ -50,6 +54,7 @@ jobs: with open(os.environ['GITHUB_ENV'], 'a') as f: f.write('TOXENV=' + toxenv + '\n') shell: python + - name: Run tox run: | python -c "import os; print(os.environ['TOXENV'])"