Skip to content

Finished tests

Finished tests #10

Workflow file for this run

name: Automating the test
on: [push, pull_request] # pull_request really necessary?
jobs:
run:
runs-on: ubuntu-latest
steps:
# doc: https://github.com/actions/checkout
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
# doc: https://google.github.io/googletest/quickstart-cmake.html#create-and-run-a-binary
- name: Build and run the tests
run: |
cmake -S . -B build
cmake --build build
cd build
ctest --rerun-failed --output-on-failure