File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1- version : ' 3'
21services :
32 trinity-node-1 :
43 image : trinity-rft:latest-unittest
Original file line number Diff line number Diff line change 2727 - name : Run unittest
2828 working-directory : trinity-${{ github.run_id }}/.github/workflows/docker
2929 run : |
30- docker compose exec trinity-node-1 pytest tests --ignore=tests/data
30+ docker compose exec trinity-node-1 pytest tests --ignore=tests/data --junitxml=pytest.xml
31+ continue-on-error : true
32+
33+ - name : Upload test results
34+ uses : actions/upload-artifact@v2
35+ with :
36+ name : pytest-results
37+ path : trinity-${{ github.run_id }}/pytest.xml
38+
39+ - name : Pytest coverage comment
40+ uses : MishaKav/pytest-coverage-comment@main
41+ with :
42+ junitxml-title : Unittest Result Summary
43+ junitxml-path : trinity-${{ github.run_id }}/pytest.xml
3144# TODO: run data tests after the dependency conflict is resolved
You can’t perform that action at this time.
0 commit comments