Skip to content

ci: specify runner OS version in workflows (#179) #164

ci: specify runner OS version in workflows (#179)

ci: specify runner OS version in workflows (#179) #164

Workflow file for this run

name: Test
on:
workflow_dispatch:
pull_request:
push:
branches: [main]
jobs:
test-project:
name: Test Project
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, windows-2022]
steps:
- name: Checkout
uses: actions/[email protected]
- name: Configure Project
uses: threeal/[email protected]
with:
options: MY_FIBONACCI_ENABLE_TESTS=ON
run-build: false
- name: Build Project
run: cmake --build build
- name: Test Project
uses: threeal/[email protected]
with:
build-config: Debug
- name: Check Coverage
if: ${{ matrix.os != 'windows-2022' }}
uses: threeal/[email protected]
with:
excludes: build/*
fail-under-line: 100