File tree Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change 11name : Agent Unittest
2- on :
3- pull_request : {}
4- push :
5- tags : [ "v/*" ]
2+ on :
3+ pull_request :
4+ paths :
5+ - agent/**
66jobs :
77 test :
88 name : Run tests & display coverage
99 runs-on : ubuntu-latest
1010 permissions :
11- # Gives the action the necessary permissions for publishing new
12- # comments in pull requests.
11+ contents : read
12+ issues : read
13+ checks : write
1314 pull-requests : write
14- # Gives the action the necessary permissions for pushing data to the
15- # python-coverage-comment-action branch, and for editing existing
16- # comments (to avoid publishing multiple comments in the same PR)
17- contents : write
1815 steps :
1916 - uses : actions/checkout@v4
2017 - name : Install everything, run the tests, produce the .coverage file and coverage.xml report
2118 run : |
2219 cd agent
23- make test
20+ make test
21+ - name : Publish Test Results
22+ uses : EnricoMi/publish-unit-test-result-action@v2
23+ if : always()
24+ with :
25+ files : |
26+ agent/coverage.xml
You can’t perform that action at this time.
0 commit comments