From 134376d8dae20df5126ca4655ad4d11b400faab3 Mon Sep 17 00:00:00 2001 From: David Rheinsberg Date: Wed, 13 May 2020 14:58:49 +0200 Subject: [PATCH] ci: move test_boot to github-actions Move the `test_boot` test from Travis over to the Github-Actions based CI. This is the last test on Travis, and the Travis CI can now be disabled, if we so wish. This test leaves a valid `travis.yml` file around, since Travis will still be enabled on the repository. We should first disable Travis and then drop this file, if we want to get rid of it. --- .github/workflows/runtime-tests.yml | 11 +++++++++++ .travis.yml | 3 +-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/runtime-tests.yml b/.github/workflows/runtime-tests.yml index ba4d790e..ee052280 100644 --- a/.github/workflows/runtime-tests.yml +++ b/.github/workflows/runtime-tests.yml @@ -22,6 +22,17 @@ jobs: with: run: make test-runtime + boot_tests: + name: "Boot Tests" + runs-on: ubuntu-latest + steps: + - name: "Clone Repository" + uses: actions/checkout@v2 + - name: "Run Boot Tests" + uses: osbuild/containers/ghci/actions/ghci-osbuild@ghci/v1 + with: + run: python3 -m unittest -v test.test_boot + noop_pipeline_tests: name: "Noop-Pipeline Tests" runs-on: ubuntu-latest diff --git a/.travis.yml b/.travis.yml index 30d538e7..833de10d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,5 +7,4 @@ env: jobs: include: - name: f30-boot - before_install: sudo apt-get install -y systemd-container yum qemu-kvm - script: sudo env "PATH=$PATH" python3 -m unittest -v test.test_boot + script: echo Nothing to do.