Skip to content

Commit

Permalink
test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
markur4 committed Nov 17, 2023
1 parent 5a6c4bb commit 184c094
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
python-version: '3.11'
- name: Install requirements
run: pip install -r requirements.txt
- name: Install plotastic
run: pip install git+https://github.com/markur4/plotastic.git
- name: Install plotastic (in editable mode! Otherwise 0% coverage)
run: pip install -e .
- name: Install development tools
run: pip install pytest pytest-cov
- name: Run tests and collect coverage
Expand Down
Binary file modified tests/.DS_Store
Binary file not shown.
5 changes: 4 additions & 1 deletion tests/run_tests_in_new_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
! pip install pytest pytest-cov ipytest

# %%
! pytest --cov --cov-report=xml
# !! Coverage requires editable mode
! pytest

# # ! pytest --cov --cov-report=xml

# %%

0 comments on commit 184c094

Please sign in to comment.