Skip to content

test: add CTest to cmake to enable testing #3

test: add CTest to cmake to enable testing

test: add CTest to cmake to enable testing #3

Workflow file for this run

# Run unit tests using CTest
name: Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run unit tests
uses: HorstBaerbel/[email protected]
with:
sourcedir: "."
builddir: "build"
cmakeoptions: "-DENABLE_TESTING=ON"
ctestoptions: "--timeout 5"