Skip to content

Specify Runner OS Version in Workflows #162

Specify Runner OS Version in Workflows

Specify Runner OS Version in Workflows #162

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' }}
uses: threeal/[email protected]
with:
excludes: build/*
fail-under-line: 100