Skip to content

Commit

Permalink
fix: Github actions should call pytest instead of tox
Browse files Browse the repository at this point in the history
  • Loading branch information
defnull committed Aug 26, 2024
1 parent 494cd83 commit c97df75
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: python -m pip install --upgrade pip tox
run: python -m pip install --upgrade pip pytest pytest-cov

- name: Test
run: tox -e py
run: pytest . -ra -q --doctest-modules -cov=multipart --cov-report=term
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ build: venv
$(VENV)/bin/python3 -m build .

test: venv
$(VENV)/bin/python3 -m pytest
$(VENV)/bin/pytest . -ra -q --doctest-modules --cov=multipart --cov-report=term --cov-report=html:build/htmlcov

upload: build
$(VENV)/bin/python3 -m twine upload --skip-existing dist/multipart-*
5 changes: 0 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,3 @@ version = {attr = "multipart.__version__"}
[tool.coverage.run]
branch = true
source = ["multipart", "test"]

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = ["test"]
10 changes: 0 additions & 10 deletions tox.ini

This file was deleted.

0 comments on commit c97df75

Please sign in to comment.