Fix some things in test stubs (#1008) #93
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nagios Core Tests | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build_and_test: | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
# https://github.com/actions/runner-images/issues/2139 | |
run: | | |
sudo apt update | |
sudo apt remove libgd3 nginx | |
sudo apt install libgd-dev valgrind binutils | |
- name: configure | |
run: ./configure --enable-testing | |
- name: Run Tests | |
run: make test |