Skip to content

Commit

Permalink
try to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zariiii9003 committed Oct 26, 2023
1 parent ea137cb commit ce65016
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
python -m pip install .
- name: Test
run: |
python -m pytest -v --assert=plain ./tests
python -m pytest
mypy:
runs-on: windows-latest
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ pre-commit install

After you implement your changes you should run the static code analysis and check the documentation:
```shell script
# install pycanape in editable mode
python -m pip install -e .[dev,doc]

# format the code with black
black .

Expand All @@ -84,7 +87,7 @@ ruff check --fix src
mypy .

# run the tests
python -m pytest
python -m pytest --cov-config=./pyproject.toml --cov=pycanape --cov-report=term --cov-report=html

# build the documentation
python -m sphinx -Wan --keep-going docs build
Expand Down
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,7 @@ ignore = [
known-first-party = ["pycanape"]

[tool.pytest.ini_options]
addopts = """\
-v --assert=plain \
--cov-config=./pyproject.toml --cov=pycanape --cov-report=term --cov-report=html\
"""
addopts = "-v --assert=plain"
testpaths = ["tests"]

[tool.coverage.run]
Expand Down

0 comments on commit ce65016

Please sign in to comment.