From 8b9143aae997d9e9024ccd78a54b000919c01850 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Sun, 13 Sep 2020 12:01:07 +0200 Subject: [PATCH] ci: run unit tests Use the koji test environment container to run the unit tests. --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13314a6..8e29be1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,3 +14,15 @@ jobs: with: run: | pylint plugins/**/*.py test/**/*.py + + unit: + name: Unit tests + runs-on: ubuntu-latest + steps: + - name: "Clone Repository" + uses: actions/checkout@v2 + - name: "Run unit tests" + uses: osbuild/koji-osbuild/test@master + with: + run: | + python3 -m unittest discover -v test/unit/