Skip to content

Fix build-project Job Naming #25

Fix build-project Job Naming

Fix build-project Job Naming #25

Workflow file for this run

name: Test
on:
workflow_dispatch:
pull_request:
push:
branches: [main]
jobs:
check-project:
name: Check Project
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Configure Project
uses: threeal/[email protected]
with:
options: BUILD_TESTING=ON
- name: Check Format
run: |
cmake --build build --target format
git diff --exit-code HEAD
test-project:
name: Test Project
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu, windows]
steps:
- name: Checkout
uses: actions/[email protected]
- name: Configure Project
uses: threeal/[email protected]
with:
options: BUILD_TESTING=ON
- name: Build Project
run: cmake --build build
- name: Test Project
run: ctest --test-dir build --output-on-failure --no-tests=error
- name: Check Coverage
if: ${{ matrix.os != 'windows' }}
uses: threeal/[email protected]
with:
excludes: build/*
fail-under-line: 100