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 24
24
gcc: 13
25
25
26
26
steps:
27
- - name: Cleanup workspace
28
- run: |
29
- rm -rf ${{ github.workspace }}/*
30
- rm -rf ${{ github.workspace }}/.*
31
-
32
27
- uses: actions/checkout@v4
33
28
with:
34
29
submodules: recursive
67
62
- name: Run unit-tests
68
63
working-directory: ${{ env.build_dir }}
69
64
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 }}
72
66
73
67
- name: Upload unit tests resutls
74
68
uses: actions/upload-artifact@v4
86
80
- name: Run regression-tests
87
81
working-directory: ${{ env.build_dir }}/python
88
82
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 }}
91
84
92
85
- name: Upload regression tests resutls
93
86
uses: actions/upload-artifact@v4
@@ -101,3 +94,14 @@ jobs:
101
94
if grep -q "FAILED" ${{ env.regression-test-file }}; then
102
95
exit 1
103
96
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