diff --git a/.github/workflows/runtime-tests.yml b/.github/workflows/runtime-tests.yml index eb80de7b..c4263752 100644 --- a/.github/workflows/runtime-tests.yml +++ b/.github/workflows/runtime-tests.yml @@ -11,17 +11,6 @@ env: PYTHONUNBUFFERED: 1 jobs: - runtime_tests: - name: "Runtime Pipeline Execution Tests" - runs-on: ubuntu-latest - steps: - - name: "Clone Repository" - uses: actions/checkout@v2 - - name: "Run Pipeline Tests" - uses: osbuild/containers/ghci/actions/ghci-osbuild@ghci/v1 - with: - run: make test-runtime - assembler_tests: name: "Assembler Tests" runs-on: ubuntu-latest diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d91ad5ae..1a42b46c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,7 +23,18 @@ jobs: - name: "Run Module Unittests" uses: osbuild/containers/ghci/actions/ghci-osbuild@ghci/v1 with: - run: make test-module + run: make test-mod + + runtime_tests: + name: "Runtime Pipeline Execution Tests" + runs-on: ubuntu-latest + steps: + - name: "Clone Repository" + uses: actions/checkout@v2 + - name: "Run Pipeline Tests" + uses: osbuild/containers/ghci/actions/ghci-osbuild@ghci/v1 + with: + run: make test-run documentation: name: "📚 Documentation" diff --git a/Makefile b/Makefile index e49877f9..fcc53172 100644 --- a/Makefile +++ b/Makefile @@ -132,7 +132,7 @@ $(SRCDIR)/test/data/manifests/fedora-boot.json: $(SRCDIR)/test/data/manifests/f3 test-data: $(TEST_MANIFESTS_GEN) .PHONY: test-units -test-module: +test-mod: @$(PYTHON3) -m unittest \ discover \ --start=$(SRCDIR)/test/mod \ @@ -140,7 +140,7 @@ test-module: -v .PHONY: test-runtime -test-runtime: +test-run: @[[ $${EUID} -eq 0 ]] || (echo "Error: Root privileges required!"; exit 1) @$(PYTHON3) -m unittest \ discover \