File tree Expand file tree Collapse file tree 3 files changed +10
-18
lines changed
Expand file tree Collapse file tree 3 files changed +10
-18
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,12 @@ jobs:
2727 poetry config virtualenvs.in-project false
2828 poetry config virtualenvs.path ~/.virtualenvs
2929
30- - name : Install Tox
31- run : pip install tox
30+ - name : Code Quality
31+ run : poetry run black . --check
32+ continue-on-error : true
3233
33- - name : Run Tox
34- run : tox -e py # Run tox using the version of Python in `PATH`
34+ - name : Test with pytest
35+ run : poetry run pytest --cov-report term-missing --cov-report=xml --cov=labthings ./tests
3536
3637 publish :
3738 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -29,11 +29,12 @@ jobs:
2929 poetry config virtualenvs.in-project false
3030 poetry config virtualenvs.path ~/.virtualenvs
3131
32- - name : Install Tox
33- run : pip install tox
32+ - name : Code Quality
33+ run : poetry run black . --check
34+ continue-on-error : true
3435
35- - name : Run Tox
36- run : tox -e py # Run tox using the version of Python in `PATH`
36+ - name : Test with pytest
37+ run : poetry run pytest --cov-report term-missing --cov-report=xml --cov=labthings ./tests
3738
3839 - name : Upload coverage to Codecov
3940 uses : codecov/codecov-action@v1
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments