Skip to content

Update tests to use catch2 v3 split headers #18

Update tests to use catch2 v3 split headers

Update tests to use catch2 v3 split headers #18

Workflow file for this run

name: "CodeQL Analysis"
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
workflow_dispatch:
jobs:
CodeqQL-Analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'cpp' ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Install Open MPI
run: sudo apt-get install libopenmpi-dev
- name: Install json-c
run: sudo apt-get install libjson-c-dev
- name: Install Catch2 v3 from git repo
run: |
git clone https://github.com/catchorg/Catch2.git
cd Catch2
cmake -B build -S . -DBUILD_TESTING=OFF
sudo cmake --build build/ --target install
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"