Skip to content

chore: merge pull request #26 from threeal/git-ignore-dotfiles #43

chore: merge pull request #26 from threeal/git-ignore-dotfiles

chore: merge pull request #26 from threeal/git-ignore-dotfiles #43

Workflow file for this run

name: test
on:
workflow_dispatch:
pull_request:
push:
branches: [main]
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Configure, build, and test this project
uses: threeal/[email protected]
with:
args: -DBUILD_TESTING=ON
run-test: true
- name: Check code coverage
uses: threeal/[email protected]
with:
exclude: build/*
fail-under-line: 80
check-warning:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Configure and build this project
uses: threeal/[email protected]
with:
cxx-flags: -Werror
args: -DBUILD_TESTING=ON
check-formatting:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Install cmake-format
run: pip3 install cmake-format
- name: Configure CMake
run: cmake . -B build
- name: Check code formatting
run: |
cmake --build build --target format
cmake --build build --target check-format