Skip to content

Commit 8185664

Browse files
committed
improved ci.yml
1 parent d5e9f95 commit 8185664

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.coveragerc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[run]
22
parallel = True
33
omit = setup.py
4-
source = ./pyobs
4+
source = pyobs

.github/workflows/ci.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,20 @@ jobs:
2222

2323
- name: Clone pyobs
2424
uses: actions/checkout@v3
25-
with:
26-
path: pyobs
2725

2826
- name: Install pyobs and dependencies
2927
run: |
3028
python -m pip install --upgrade pip
3129
pip install numpy coverage
32-
pip install ./pyobs
30+
pip install .
3331
3432
- name: Test
3533
run: |
36-
cd pyobs
3734
coverage run --debug=trace tests/core/observable.py
3835
ls -al .cov*
3936
4037
- name: Coverage report
4138
run: |
42-
cd pyobs
4339
coverage combine
4440
coverage report -m # Print coverage report to screen
4541
coverage xml # Export coverage report as XML file, for codecov.i
@@ -51,6 +47,5 @@ jobs:
5147
CODECOV_TOKEN: "6f56ccbf-ceab-4666-81a7-fc2431ba9bb8"
5248
CODECOV_ENV: PYTHON_VERSION, CODECOV_TOKEN
5349
run: |
54-
cd pyobs
5550
bash <(curl -s https://codecov.io/bash) -f ./coverage.xml
5651

0 commit comments

Comments
 (0)