Skip to content

Commit

Permalink
wip: adapt tox and actions config for coverage of --installed
Browse files Browse the repository at this point in the history
TODO: results in coverage and codecov
  • Loading branch information
xflr6 committed Mar 17, 2024
1 parent d1bdcb7 commit ae7e241
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
python -m pip install "sqlalchemy<2"
echo "::endgroup::"
- name: Run tests with ${{ matrix.args }}
run: python run-tests.py ${{ matrix.args }}
run: python run-tests.py ${{ matrix.args }} --installed --cov=treedb
- name: Check Glottolog version
run: echo "::notice::$(python -c 'import treedb; print(treedb.glottolog_version())')"
- name: Run try-treedb.py (if -full)
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ addopts =
# - (p/P)assed (no output)
-r fsxXpP
--durations=10
--cov --cov-report=term --cov-report=html
--cov-report=term --cov-report=html
--strict-config --strict-markers
filterwarnings =
ignore::DeprecationWarning:pycountry.*
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ skip_missing_interpreters = true

[testenv]
extras = test,pretty
commands = python -X dev run-tests.py {posargs} --installed
commands = python -X dev run-tests.py {posargs} --installed --cov={envsitepackagesdir}/treedb

0 comments on commit ae7e241

Please sign in to comment.