Skip to content

[please ignore] CI test #290

[please ignore] CI test

[please ignore] CI test #290

---
name: Integration tests
on:
push:
pull_request:
branches: [ main, rhel*-branch ]
release:
types: [ published, created ]
permissions:
contents: read
jobs:
buildCheck:
runs-on: ubuntu-22.04
steps:
- name: Repository checkout
uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt install -y libpopt-dev libselinux1-dev libnewt-dev gettext
- name: Build & install
run: make all && make install DESTDIR=/tmp/chkconfig
unitTests:
runs-on: ubuntu-22.04
defaults:
run:
shell: bash
needs: buildCheck
steps:
- name: Repository checkout
uses: actions/checkout@v4
- name: Clone beakerlib repository
run: git clone --depth=1 https://github.com/beakerlib/beakerlib.git
- name: Build and install beakerlib
run: cd beakerlib && sudo make && sudo make install && cd -
- name: Install dependencies required by Makefile
run: sudo apt install -y libpopt-dev libselinux1-dev libnewt-dev gettext
- name: Install dependencies required by test-alternatives.sh
run: sudo apt install -y libxml2-dev libxslt-dev python3-dev python3-lxml
- name: Build && Test
run: make check