Skip to content

tests: fix confinement test for slim container #316

tests: fix confinement test for slim container

tests: fix confinement test for slim container #316

Workflow file for this run

name: CI
on:
push:
branches:
- main
- 'releases/**'
paths-ignore:
- '**.md'
pull_request:
release:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test_on_linux:
name: Test on Linux containers (Ubuntu LTS)
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
container_version:
- G4.11.2
- G4.11.1
- G4.11.0
- slim
container: docker://gipert/remage-base:${{ matrix.container_version }}
steps:
- uses: actions/checkout@v4
- name: Build project
run: |
mkdir build
cd build
cmake ..
make
make install
- name: Run full test suite
if: ${{ matrix.container_version != 'slim' }}
run: |
cd build
ctest --output-on-failure --label-exclude 'vis'
- name: Run minimal test suite
if: ${{ matrix.container_version == 'slim' }}
run: |
cd build
ctest --output-on-failure --label-exclude 'extra|vis'
# vim: expandtab tabstop=2 shiftwidth=2