Skip to content

Commit 7f0beb1

Browse files
committed
Ok, fixed...
1 parent 2ad3f0f commit 7f0beb1

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@ jobs:
99
- name: Check out code
1010
uses: actions/checkout@master
1111
- name: Run check.sh
12+
working-directory: shm
1213
run: |
13-
pwd
14-
ls
15-
chmod +x shm/check.sh
16-
shm/check.sh
14+
chmod +x check.sh
15+
check.sh CMakeLists.txt
1716
1817
# In case of conflict do not remove above jobs. Just add your jobs below and remove this comment :)

shm/check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ positive_lookup "executable should be linked with the library" "target_link_libr
7373
does_file_exist ".github/workflows/main.yml"
7474

7575
# Part 2
76-
does_file_exist "shm/CMakeLists.txt.in"
76+
does_file_exist "CMakeLists.txt.in"
7777
positive_lookup "binary with tests exist" "add_executable\([\$]\{PROJECT_NAME\}-ut(\s+[[:word:]]+\.cpp)+\)|add_executable\([\$]\{PROJECT_NAME\}-ut\s+([\$\{A-Z_\}]*)\)"
7878
positive_lookup "test binary added to ctest" "add_test\(NAME.*\s+COMMAND\s+[\$]\{PROJECT_NAME\}-ut\)"
7979
positive_lookup "testing is enabled" "enable_testing\(\)"

0 commit comments

Comments
 (0)