From 329c868bb11e137422001de62cde689fafb0cf08 Mon Sep 17 00:00:00 2001 From: Kinga Stefaniuk Date: Tue, 3 Sep 2024 09:33:42 +0200 Subject: [PATCH] CI: use self-hosted runner to run tests Use prepared VM machine in GitHub actions to run mdadm tests on it. Signed-off-by: Kinga Stefaniuk --- .github/workflows/review.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index e5fbf4ee..7d1625db 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -43,3 +43,22 @@ jobs: run: mv .github/tools/.checkpatch.conf . - name: Run checkpatch review uses: webispy/checkpatch-action@v9 + upstream_tests: + runs-on: self-hosted + name: upstream tests + steps: + - uses: actions/checkout@v4 + - name: 'Make' + run: V=1 make -j$(nproc) && sudo make install + - name: 'Install' + run: sudo dracut -f + - name: 'Check OS' + run: sudo cat /etc/os-release + - name: 'Tests cleanup' + run: sudo ./test cleanup + - name: 'Tests setup' + run: sudo ./test setup + - name: Run tests + run: sudo ./test --skip-broken --skip-always-broken --no-error --disable-integrity --disable-multipath --disable-linear --keep-going + - name: 'Tests cleanup' + run: sudo ./test cleanup \ No newline at end of file