Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Azazel0203 committed Mar 13, 2024
1 parent 8cb2471 commit c7c5eb8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/python-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
python -c "import os; os.listdir()"
ls -R
pytest -v
- name: Build package
run: python -m build
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta"

[tool.pytest.ini_options]
testpaths = [
"tests\\test_int.py",
"tests\\test_unit.py"
"tests/test_int.py",
"tests/test_unit.py"
]

[tool.mypy]
Expand Down
3 changes: 1 addition & 2 deletions tests/test_int.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import pytest

@pytest.mark.test

def test_empty():
assert True
2 changes: 0 additions & 2 deletions tests/test_unit.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import pytest

@pytest.mark.test
def test_empty():
assert True

0 comments on commit c7c5eb8

Please sign in to comment.