Skip to content

Commit d5cd307

Browse files
Add -e flag to pip install of mvesuvio
1 parent 13a59ee commit d5cd307

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

.github/workflows/ci_tests_nightly.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,27 +26,21 @@ jobs:
2626
auto-activate-base: false
2727

2828
- name: Install mvesuvio package
29-
run: pip install .
30-
31-
- name: Install coverage
32-
run: pip install coverage[toml]
29+
# The editable flag is necessary for coverage to find the src/ files
30+
run: pip install -e .
3331

3432
# Runs Unit tests
3533
- name: Run mvesuvio analysis unit tests
3634
run: |
37-
coverage run --debug=trace -m unittest discover -s ./tests/unit
35+
coverage run -m unittest discover -s ./tests/unit
3836
coverage report
3937
40-
- name: Coverage version
38+
# Send coverage report to Coveralls
39+
- name: Send coverage report to Coveralls
40+
env:
41+
COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
4142
run: |
42-
coverage --version
43-
44-
# # Send coverage report to Coveralls
45-
# - name: Send coverage report to Coveralls
46-
# env:
47-
# COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
48-
# run: |
49-
# coveralls --service=github-actions
43+
coveralls --service=github-actions
5044
5145
# # Runs System tests
5246
# - name: Run mvesuvio analysis system tests

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ dependencies:
99
- flake8
1010
- conda-wrappers
1111
- pre-commit==2.15 #review this
12-
# - coverage
1312
- coveralls
1413
- mantid
1514
- matplotlib
@@ -18,3 +17,4 @@ dependencies:
1817
- mock
1918
- pytest
2019
- jacobi==0.4.2 #pinned until newer versions functionality confirmed
20+
- coverage

0 commit comments

Comments
 (0)