Skip to content

Commit c98a5aa

Browse files
committed
update: actions
1 parent 122d614 commit c98a5aa

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

.github/workflows/distro-tests.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ jobs:
3434
- name: Checkout
3535
uses: actions/checkout@v4
3636

37-
- name: Run setup-k8s test
37+
- name: Run setup-k8s test (online)
3838
working-directory: test
3939
env:
4040
BASH_DEBUG: '0'
4141
run: |
4242
set -euo pipefail
43-
./run-test.sh ${{ matrix.distro }}
43+
./run-test.sh --online ${{ matrix.distro }}
4444
4545
- name: Upload logs
4646
if: always()
@@ -51,3 +51,9 @@ jobs:
5151
test/results/logs
5252
test/results/test-result.json
5353
if-no-files-found: ignore
54+
55+
- name: Cleanup workspace artifacts
56+
if: always()
57+
run: |
58+
sudo rm -rf test/images || true
59+
sudo rm -rf test/results || true

.github/workflows/ubuntu-tests.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,7 @@ jobs:
6666
DISTRO: ${{ matrix.distro }}
6767
run: |
6868
set -euo pipefail
69-
mode_flag=""
70-
if [ "$MODE" = "online" ]; then
71-
mode_flag="--online"
72-
else
73-
mode_flag="--offline"
74-
fi
69+
mode_flag="--online"
7570
7671
k8s_flag=""
7772
if [ -n "$K8S_VERSION" ]; then
@@ -94,3 +89,9 @@ jobs:
9489
test/results/logs
9590
test/results/test-result.json
9691
if-no-files-found: ignore
92+
93+
- name: Cleanup workspace artifacts
94+
if: always()
95+
run: |
96+
sudo rm -rf test/images || true
97+
sudo rm -rf test/results || true

0 commit comments

Comments
 (0)