ci: run unit tests
Use the koji test environment container to run the unit tests.
This commit is contained in:
parent
7568437437
commit
8b9143aae9
1 changed files with 12 additions and 0 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
|
@ -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/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue