From 0ffae822ce8bb509b6bddd6023b580971cb65c34 Mon Sep 17 00:00:00 2001 From: David Rheinsberg Date: Mon, 18 May 2020 14:44:33 +0200 Subject: [PATCH] ci: run `test-src` with ghci Use the GHCI image to run `make test-src`. This makes sure all our dependencies are available (including `dnf`, `hawkey`, and other python packages). --- .github/workflows/tests.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0dfe7e3f..e699f171 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,16 +3,15 @@ name: Tests on: [pull_request, push] jobs: - pylint: + source_tests: name: "Source Tests" runs-on: ubuntu-latest - container: docker.io/library/python:3.7 steps: - - name: Install pylint - run: pip install pylint==2.4.1 jsonschema - - name: Clone repository - uses: actions/checkout@v2 - - name: Run Source Tests + - name: "Clone Repository" + uses: actions/checkout@v2 + - name: "Run Source Tests" + uses: osbuild/containers/ghci/actions/ghci-osbuild@ghci/v1 + with: run: make test-src module: