Skip to content

Commit 92913a1

Browse files
committed
CI: Adjust pytest cov
1 parent 376a239 commit 92913a1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ changes made to the code, and what the PR is solving."
66
## Checklist
77

88
- [ ] Tests added (if not, comment why)
9-
- [ ] Test coverage equal or up from main (run pytest with `--cov=<packagename> --cov-report term-missing`)
9+
- [ ] Test coverage equal or up from main (run pytest with `--cov=src/ --cov-report term-missing`)
1010
- [ ] If not squash merging, every commit passes tests
1111
- [ ] Appropriate [commit prefix](https://upgraded-funicular-eywe4gy.pages.github.io/developing/#commit-prefixes) and precise commit message used
1212
- [ ] All debug prints and unnecessary comments removed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ jobs:
3232
with:
3333
python-version: ${{ matrix.python-version }}
3434

35-
- name: Install rmsenv with dependencies
35+
- name: Install fmu-settings-api with dependencies
3636
if: ${{ always() }}
3737
run: |
3838
pip install -U pip
39-
pip install -e ".[dev]"
39+
pip install -e ../fmu-settings-api[dev]
4040
4141
- name: List all installed packages
4242
run: pip freeze
@@ -55,4 +55,4 @@ jobs:
5555

5656
- name: Run tests
5757
if: ${{ always() }}
58-
run: pytest -n auto tests --cov=fmu-settings-api --cov-report term-missing
58+
run: pytest -n auto tests --cov=src/ --cov-report term-missing

0 commit comments

Comments
 (0)