Skip to content

test: add CTest to cmake to enable testing #1

test: add CTest to cmake to enable testing

test: add CTest to cmake to enable testing #1

Workflow file for this run

# Run unit tests using CTest
name: Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
checkout-and-check-formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run unit tests
uses: HorstBaerbel/[email protected]
# These are optional (defaults displayed)
with:
sourcedir: "."
builddir: "build"
cmakeoptions: "-DENABLE_TESTING ON"
ctestoptions: "--timeout 5"