Skip to content

Commit 7fbd93f

Browse files
committed
Stop using tox for testing
1 parent 49e2f82 commit 7fbd93f

File tree

3 files changed

+10
-18
lines changed

3 files changed

+10
-18
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff 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

tox.ini

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)