File tree Expand file tree Collapse file tree 2 files changed +13
-112
lines changed Expand file tree Collapse file tree 2 files changed +13
-112
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2424 gcc : 13
2525
2626 steps :
27- - name : Cleanup workspace
28- run : |
29- rm -rf ${{ github.workspace }}/*
30- rm -rf ${{ github.workspace }}/.*
31-
3227 - uses : actions/checkout@v4
3328 with :
3429 submodules : recursive
6762 - name : Run unit-tests
6863 working-directory : ${{ env.build_dir }}
6964 run : |
70- chmod +x scripts/run_tests_all.sh
71- ./scripts/run_tests_all.sh | tee ${{ env.unit-test-file }}
65+ source scripts/run_tests_all.sh | tee ${{ env.unit-test-file }}
7266
7367 - name : Upload unit tests resutls
7468 uses : actions/upload-artifact@v4
8680 - name : Run regression-tests
8781 working-directory : ${{ env.build_dir }}/python
8882 run : |
89- chmod +x run_tests.sh
90- ./run_tests.sh | tee ${{ env.regression-test-file }}
83+ source run_tests.sh | tee ${{ env.regression-test-file }}
9184
9285 - name : Upload regression tests resutls
9386 uses : actions/upload-artifact@v4
@@ -101,3 +94,14 @@ jobs:
10194 if grep -q "FAILED" ${{ env.regression-test-file }}; then
10295 exit 1
10396 fi
97+
98+ clean :
99+ name : Cleanup workspace
100+ if : always()
101+ runs-on : self-hosted
102+
103+ steps :
104+ - name : Cleanup workspace
105+ run : |
106+ rm -rf ${{ github.workspace }}/*
107+ rm -rf ${{ github.workspace }}/.*
You can’t perform that action at this time.
0 commit comments