From b166a003ab7b23364797dca39dd1604616c5914d Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Mon, 25 Jan 2021 18:15:08 -0500 Subject: [PATCH] Update env sections --- .github/workflows/tests.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e0b22be1..531b4040 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,10 +15,10 @@ jobs: - uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} + env: + TOXENV: ${{ matrix.python-version }} - run: pip install tox - run: tox - env: - TOXENV: ${{ matrix.python-version }} test-coverage: name: Run tests with coverage @@ -28,12 +28,11 @@ jobs: - uses: actions/setup-python@v2 with: python-version: 3.9 - - run: | - pip install tox - pip install cython - make cythonize + env: + TOXENV: coveralls + DEPENDENCY_INJECTOR_DEBUG_MODE: 1 + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + - run: pip install tox + - run: pip install cython + - run: make cythonize - run: tox - env: - TOXENV: coveralls - DEPENDENCY_INJECTOR_DEBUG_MODE: 1 - COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}