mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-06 14:40:48 +03:00
Update tox.ini to pass env variables
This commit is contained in:
parent
9cb37cf004
commit
500be25220
15
.github/workflows/tests.yml
vendored
15
.github/workflows/tests.yml
vendored
|
@ -33,14 +33,13 @@ jobs:
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.9
|
python-version: 3.9
|
||||||
- run: |
|
- run: pip install tox
|
||||||
pip install tox
|
- run: pip install cython
|
||||||
pip install cython
|
- run: make cythonize
|
||||||
make cythonize
|
env:
|
||||||
tox
|
DEPENDENCY_INJECTOR_DEBUG_MODE: 1
|
||||||
|
- run: tox
|
||||||
env:
|
env:
|
||||||
TOXENV: coveralls
|
TOXENV: coveralls
|
||||||
DEPENDENCY_INJECTOR_DEBUG_MODE: 1
|
|
||||||
COVERALLS_GIT_BRANCH: ${{ steps.branch-name.outputs.branch }}
|
COVERALLS_GIT_BRANCH: ${{ steps.branch-name.outputs.branch }}
|
||||||
COVERALLS_REPO_TOKEN: Z5o1TZn8rMX4J3Ak4CTBiilJGkFbtzKxj
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||||
|
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -17,7 +17,7 @@ commands=
|
||||||
unit2 discover -s tests/unit -p test_*_py3*.py
|
unit2 discover -s tests/unit -p test_*_py3*.py
|
||||||
|
|
||||||
[testenv:coveralls]
|
[testenv:coveralls]
|
||||||
passenv=TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH DEPENDENCY_INJECTOR_DEBUG_MODE
|
passenv=COVERALLS_GIT_BRANCH COVERALLS_REPO_TOKEN DEPENDENCY_INJECTOR_DEBUG_MODE
|
||||||
basepython=python3.9
|
basepython=python3.9
|
||||||
usedevelop=True
|
usedevelop=True
|
||||||
deps=
|
deps=
|
||||||
|
|
Loading…
Reference in New Issue
Block a user