Skip to content

Bump actions/checkout from 4.0.0 to 4.1.0 #61

Bump actions/checkout from 4.0.0 to 4.1.0

Bump actions/checkout from 4.0.0 to 4.1.0 #61

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