Skip to content

Commit

Permalink
Add Ubuntu test
Browse files Browse the repository at this point in the history
Also run the tests on Ubuntu.
This has returned a few py3 specific bugs already, so might be useful.

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
  • Loading branch information
puiterwijk committed Jul 23, 2021
1 parent 32be235 commit f5ed10e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -22,6 +22,29 @@ jobs:
run: |
bandit -ll -r .
test_ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install apt deps
run: |
sudo apt-get install -y \
python3 librpm-dev python3-rpm python3-pip python3-setuptools \
python3-requests python3-gssapi python3-pyxattr rpm valgrind ima-evm-utils
- name: Install pip deps
run: |
pip3 install koji
- name: Build insertlib
run: |
python3 setup.py build_ext -i
- name: Run test
run: |
PRINT_VALGRIND_LOG=1 python3 test.py
tests_fedora:
runs-on: ubuntu-latest
container: fedora:latest
Expand Down

0 comments on commit f5ed10e

Please sign in to comment.