Skip to content

Uniformize names of Splines tests (#1051) #11

Uniformize names of Splines tests (#1051)

Uniformize names of Splines tests (#1051) #11

Workflow file for this run

# Copyright (C) The DDC development team, see COPYRIGHT.md file
#
# SPDX-License-Identifier: MIT
---
name: CMake checks
# yamllint disable-line rule:truthy
on:
pull_request:
paths:
- '.github/workflows/cmake-checks.yaml'
- 'CMakeLists.txt'
- '**/CMakeLists.txt'
- '**.cmake'
- '**.cmake.in'
push:
branches:
- main
paths:
- '.github/workflows/cmake-checks.yaml'
- 'CMakeLists.txt'
- '**/CMakeLists.txt'
- '**.cmake'
- '**.cmake.in'
workflow_dispatch:
permissions:
contents: read
jobs:
cmake-format:
name: CMake format check using gersemi
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install gersemi
run: pipx install gersemi~=0.25
- name: Run gersemi
run: |
gersemi --check $(git ls-files '*.cmake' '*.cmake.in' ':!cmake/DDCCheckRequiredKokkosOptions.cmake' ':!cmake/FindLAPACKE.cmake')
gersemi --check $(git ls-files 'CMakeLists.txt' '*/CMakeLists.txt')