From 92c883720ffb6f07629ec6270e5694150f86f09e Mon Sep 17 00:00:00 2001 From: Leandro Dorileo Date: Wed, 11 Dec 2019 13:57:21 -0800 Subject: [PATCH] github actions: split test executions Split each test to its own execution, with that we can have a better visualization of the build type failure. Signed-off-by: Leandro Dorileo --- .github/workflows/main.yml | 14 ++++++++++++-- scripts/travis_test.sh | 1 - 2 files changed, 12 insertions(+), 3 deletions(-) delete mode 120000 scripts/travis_test.sh diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4dd6094..1837132 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,8 +14,18 @@ jobs: sudo apt-get update sudo apt-get install libefiboot-dev check grep ninja-build meson gcc-5 libblkid-dev lcov valgrind gnu-efi libefivar-dev ruby ruby-dev rubygems sudo gem install coveralls-lcov - - name: Build + - name: "Run Test: stock" env: CC: "gcc-5" run: | - ./scripts/travis_test.sh && coveralls-lcov outCoverage/coverage.info + ./scripts/run-test-suite.sh stock && coveralls-lcov outCoverage/coverage.info + - name: "Run Test: systemd" + env: + CC: "gcc-5" + run: | + ./scripts/run-test-suite.sh systemd && coveralls-lcov outCoverage/coverage.info + - name: "Run Test: shim-systemd-boot" + env: + CC: "gcc-5" + run: | + ./scripts/run-test-suite.sh shim-systemd-boot && coveralls-lcov outCoverage/coverage.info diff --git a/scripts/travis_test.sh b/scripts/travis_test.sh deleted file mode 120000 index 9f4fa6e..0000000 --- a/scripts/travis_test.sh +++ /dev/null @@ -1 +0,0 @@ -run-test-suite.sh \ No newline at end of file