diff options
| author | Martin Hořeňovský | 2020-11-10 15:25:24 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-11-10 15:25:24 +0100 |
| commit | 447b39cae0e6b1aa17ad9ae41053344d898bcd4d (patch) | |
| tree | 915440957b4b7ec4a1839d787ac4c45e8f47cdf8 /.github | |
| parent | 851a0e907e5c4c8d83126ab89ca61a566d08e773 (diff) | |
| download | catch3-447b39cae0e6b1aa17ad9ae41053344d898bcd4d.tar.gz | |
Better names for misc-checks workflow steps
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/validate-header-guards.yml | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/.github/workflows/validate-header-guards.yml b/.github/workflows/validate-header-guards.yml index c7a43f1d..a8d61aa0 100644 --- a/.github/workflows/validate-header-guards.yml +++ b/.github/workflows/validate-header-guards.yml @@ -1,7 +1,5 @@ name: Check header guards -# Run this workflow every time a new commit pushed to your repository - on: [push, pull_request] jobs: @@ -20,8 +18,7 @@ jobs: - name: Install checkguard run: pip install guardonce - # Check include guard naming convention - - name: checkguard + - name: Check that include guards are properly named run: | wrong_files=$(checkguard -r src/catch2/ -p "name | append _INCLUDED | upper") if [[ $wrong_files ]]; then @@ -30,10 +27,10 @@ jobs: exit 1 fi - # Check duplicate files for include guard conflicts - - name: checknames + - name: Check that there are no duplicated filenames run: | python tools/scripts/checkDuplicateFilenames.py - - name: checklicense + + - name: Check that all source files have the correct license header run: | python tools/scripts/checkLicense.py |