File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Test on Pull Request
1+ name : Unittest on Pull Request
22
33on :
44 pull_request :
99 runs-on : ubuntu-latest
1010
1111 steps :
12- - uses : actions/checkout@v3
12+ - uses : actions/checkout@v6
1313
1414 - name : Set up Python
15- uses : actions/setup-python@v4
15+ uses : actions/setup-python@v6
1616 with :
1717 python-version : ' 3.12'
1818
@@ -24,12 +24,13 @@ jobs:
2424
2525 - name : Run tests with coverage
2626 run : |
27- python -m pytest --cov=sd_protocols --cov-report=xml --cov-report=term-missing -v
28-
27+ pytest --cov --cov-branch --cov-report=xml
28+
2929 - name : Upload coverage to Codecov
30- uses : codecov/codecov-action@v3
30+ uses : codecov/codecov-action@v5
3131 with :
3232 file : ./coverage.xml
3333 flags : unittests
3434 name : codecov-umbrella
3535 fail_ci_if_error : true
36+ token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments