From 6d2bd7ce8bdf99db658b23f7b66fdc523b949696 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Wed, 14 Aug 2024 14:00:47 -0400 Subject: [PATCH] add test install with github actions --- .github/workflows/tests.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..484b8e3 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,19 @@ +name: test package installs + +on: [push, pull_request] + +jobs: + test-install: + matrix: + ubi-version: + - 8 + - 9 + runs-on: ubuntu-latest + container: registry.access.redhat.com/ubi${{ matrix.ubi-version }}:latest + steps: + - uses: actions/checkout@v4 + - name: test installation + run: | + yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E '%{rhel}').noarch.rpm + dnf copr enable -y ktdreyer/python3.11 + dnf -y install python3.11-dnf