Update run and env sections

This commit is contained in:
Roman Mogylatov 2021-01-25 18:18:04 -05:00
parent b166a003ab
commit b66ccd0769

View File

@ -15,10 +15,11 @@ jobs:
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- run: |
pip install tox
tox
env: env:
TOXENV: ${{ matrix.python-version }} TOXENV: ${{ matrix.python-version }}
- run: pip install tox
- run: tox
test-coverage: test-coverage:
name: Run tests with coverage name: Run tests with coverage
@ -28,11 +29,12 @@ jobs:
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: 3.9 python-version: 3.9
- run: |
pip install tox
pip install cython
make cythonize
tox
env: env:
TOXENV: coveralls TOXENV: coveralls
DEPENDENCY_INJECTOR_DEBUG_MODE: 1 DEPENDENCY_INJECTOR_DEBUG_MODE: 1
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- run: pip install tox
- run: pip install cython
- run: make cythonize
- run: tox