File tree Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change 2727 git config --global --add safe.directory "*"
2828 git config --global user.email "[email protected] " 2929 git config --global user.name "GitHub Actions Bot"
30- - uses : actions/setup-python@v5
31- with :
32- python-version : 3.x
33- # TODO: This will be migrated to standalone actions
34- - name : Setup tmt environment
35- run : dnf install -y tmt tmt+report-junit
30+ - name : Setup tmt
31+ uses : LecrisUT/tmt-actions/setup-tmt@v1
3632 - uses : lukka/get-cmake@latest
3733 with :
3834 cmakeVersion : ${{ matrix.cmake }}
@@ -44,14 +40,10 @@ jobs:
4440 echo "CMakeExtraUtils_ROOT=$(pwd)/build" >> $GITHUB_ENV
4541 # TODO: This will be migrated to standalone actions
4642 - name : Run tmt tests
47- run : >
48- tmt --root ./test run --all provision -h local report -h junit --file report.xml
49- - name : Upload Test Results
50- if : always()
51- uses : actions/upload-artifact@v4
43+ uses : LecrisUT/tmt-actions/run-tmt@v1
5244 with :
53- name : JUnit-CMake-${{ matrix.cmake }}
54- path : report.xml
45+ root : test
46+ report-artifact : JUnit-CMake-${{ matrix.cmake }}
5547 report :
5648 name : Report JUnit
5749 needs : [ tests ]
You can’t perform that action at this time.
0 commit comments