From 59a5f7f419a9c06183bfb101244ede56d578fe10 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 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index e5fbf4ee..4a6f6017 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -43,3 +43,18 @@ 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: cat /etc/os-release + - name: 'Tests setup' + run: ./test setup + - name: Run tests + run: ./test --skip-broken --skip-always-broken --no-error --disable-integrity --disable-multipath --disable-linear --keep-going