Commit 40d6063 1 parent a183738 commit 40d6063 Copy full SHA for 40d6063
File tree 3 files changed +34
-6
lines changed
3 files changed +34
-6
lines changed Original file line number Diff line number Diff line change
1
+ [paths]
2
+ source =
3
+ nemo_run/
4
+ /home/runner/work/NeMo-Run/NeMo-Run/nemo_run
5
+ /opt/NeMo-Run/nemo_run
6
+ [run]
7
+ omit =
8
+ nemo_run/scripts/*
Original file line number Diff line number Diff line change @@ -27,17 +27,30 @@ jobs:
27
27
git config --global user.name github-actions[bot]
28
28
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com
29
29
30
- - name : Run tests
31
- run : uv run -- pytest test/
32
-
33
30
- name : Run coverage
34
31
run : |
35
- uv run -- coverage run -m pytest
32
+ uv run -- coverage run --branch --source=nemo_run -a - m pytest
36
33
uv run -- coverage report -m
37
34
38
35
- name : Run example notebooks
39
- run : uv run -- jupyter execute examples/**/*.ipynb
36
+ run : |
37
+ uv run -- coverage run --branch --source=nemo_run -a -m jupyter execute examples/**/*.ipynb
38
+ uv run -- coverage report -m
40
39
41
40
- name : Run example scripts
42
41
run : |
43
- cd examples/hello-world && uv run -- python hello_scripts.py
42
+ uv run -- coverage run --branch --source=nemo_run -a examples/hello-world/hello_scripts.py
43
+ uv run -- coverage report -m
44
+
45
+ - name : Generate report
46
+ run : |
47
+ uv run -- coverage xml
48
+ uv run -- coverage report
49
+
50
+ - name : Upload coverage reports to Codecov
51
+ uses : codecov/codecov-action@v5
52
+ with :
53
+ token : ${{ secrets.CODECOV_TOKEN }}
54
+ files : coverage.xml
55
+ verbose : true
56
+ flags : cpu
Original file line number Diff line number Diff line change
1
+ comment : false
2
+ coverage :
3
+ status :
4
+ patch : false
5
+ project : false
6
+ fixes :
7
+ - " /opt/NeMo-Run/::"
You can’t perform that action at this time.
0 commit comments