Skip to content

Fix missing comma

Fix missing comma #2

Workflow file for this run

# --------------------------------------------------------------------------------------------------------- #
# Code analysis and tests workflow
# --------------------------------------------------------------------------------------------------------- #
name: 'Tests'
on:
push:
pull_request:
# TODO: Schedule tests to run once in a while at 06:00 (if possible)
# schedule:
# - cron: '0 6 * * *'
jobs:
rsp_cmake_scripts_tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
# Version(s) of cmake to test
cmake_version: [
'3.30.0',
'latest'
]
steps:
# ------------------------------------------------------------------------------------------------------- #
# Checkout code ...
# ------------------------------------------------------------------------------------------------------- #
- name: "Checkout"
uses: actions/checkout@v4
# ------------------------------------------------------------------------------------------------------- #
# Setup CMake
# ------------------------------------------------------------------------------------------------------- #
- name: "Setup CMake"
uses: jwlawson/actions-setup-cmake@v2
with:
cmake-version: ${{ matrix.cmake_version }}
# ------------------------------------------------------------------------------------------------------- #
# Build
# ------------------------------------------------------------------------------------------------------- #
- name: "Build"
run: cmake -DRSP_CMAKE_SCRIPTS_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug -B build
# ------------------------------------------------------------------------------------------------------- #
# Tests
# ------------------------------------------------------------------------------------------------------- #
- name: "Run Tests"
run: ctest --output-on-failure --parallel --test-dir build/tests