Skip to content

chore: bump actions/checkout from 3.5.3 to 3.6.0 (#31) #54

chore: bump actions/checkout from 3.5.3 to 3.6.0 (#31)

chore: bump actions/checkout from 3.5.3 to 3.6.0 (#31) #54

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
run-build: true
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