Skip to content

Add label requirement for CI #95

Add label requirement for CI

Add label requirement for CI #95

Workflow file for this run

name: CI-Linux
on:
pull_request:
branches:
- master
types:
- labeled
paths-ignore:
- 'applications/**'
concurrency:
group: ${{ github.event_name }}-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request'}}
permissions:
contents: read
jobs:
CI-Linux:
if: ${{ github.event.label.name == 'Status: Ready to test' }}

Check failure on line 21 in .github/workflows/linux.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/linux.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
runs-on: [ubuntu-22.04]
timeout-minutes: 120
container:
image: dealii/dealii:v9.6.0-jammy
options: --user root
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Compile PRISMS-PF
run: |
cmake .
make -j $(nproc)
- name: Run PRISMS-PF tests
timeout-minutes: 60
run: |
export OMPI_ALLOW_RUN_AS_ROOT=1
export OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
cd tests/automatic_tests
python3 run_automatic_tests.py