ci: run unit tests

Use the koji test environment container to run the unit tests.
This commit is contained in:
Christian Kellner 2020-09-13 12:01:07 +02:00 committed by Lars Karlitski
parent 7568437437
commit 8b9143aae9

View file

@ -14,3 +14,15 @@ jobs:
with: with:
run: | run: |
pylint plugins/**/*.py test/**/*.py 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/