File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed
Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,36 @@ concurrency:
1313 cancel-in-progress : true
1414
1515jobs :
16+ test-unit :
17+ name : " Unit tests"
18+ runs-on : ubuntu-latest
19+ timeout-minutes : 5
20+ steps :
21+ - name : " Checkout code"
22+ uses : actions/checkout@v5
23+ - name : " Set up Python"
24+ uses : actions/setup-python@v5
25+ with :
26+ python-version : ' 3.13'
27+ - name : " Run unit test suite"
28+ run : |
29+ make test-unit
30+ - name : " Save the coverage check result"
31+ uses : actions/upload-artifact@v4
32+ with :
33+ name : coverage.xml
34+ path : coverage.xml
1635 sonar_main :
1736 runs-on : ubuntu-latest
1837 steps :
1938 - name : Checkout (full history)
2039 uses : actions/checkout@v4
2140 with :
2241 fetch-depth : 0
23-
42+ - name : " Get the coverage report"
43+ uses : actions/download-artifact@v5
44+ with :
45+ name : coverage.xml
2446 - name : Run static analysis script
2547 env :
2648 BRANCH_NAME : main
You can’t perform that action at this time.
0 commit comments