File tree 2 files changed +2
-7
lines changed
2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 1
1
[run]
2
2
parallel = True
3
3
omit = setup.py
4
- source = ./ pyobs
4
+ source = pyobs
Original file line number Diff line number Diff line change @@ -22,24 +22,20 @@ jobs:
22
22
23
23
- name : Clone pyobs
24
24
uses : actions/checkout@v3
25
- with :
26
- path : pyobs
27
25
28
26
- name : Install pyobs and dependencies
29
27
run : |
30
28
python -m pip install --upgrade pip
31
29
pip install numpy coverage
32
- pip install ./pyobs
30
+ pip install .
33
31
34
32
- name : Test
35
33
run : |
36
- cd pyobs
37
34
coverage run --debug=trace tests/core/observable.py
38
35
ls -al .cov*
39
36
40
37
- name : Coverage report
41
38
run : |
42
- cd pyobs
43
39
coverage combine
44
40
coverage report -m # Print coverage report to screen
45
41
coverage xml # Export coverage report as XML file, for codecov.i
51
47
CODECOV_TOKEN : " 6f56ccbf-ceab-4666-81a7-fc2431ba9bb8"
52
48
CODECOV_ENV : PYTHON_VERSION, CODECOV_TOKEN
53
49
run : |
54
- cd pyobs
55
50
bash <(curl -s https://codecov.io/bash) -f ./coverage.xml
56
51
You can’t perform that action at this time.
0 commit comments