Skip to content

Commit e23c1c6

Browse files
committed
Another try :)
1 parent b958b97 commit e23c1c6

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/main.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ jobs:
99
- name: Check out code
1010
uses: actions/checkout@master
1111
- name: Run check.sh
12-
working-directory: shm
1312
run: |
14-
cd shm
15-
chmod +x check.sh
16-
./check.sh
13+
chmod +x shm/check.sh
14+
shm/check.sh
1715
1816
# In case of conflict do not remove above jobs. Just add your jobs below and remove this comment :)

shm/check.sh

+1-1
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 "CMakeLists.txt.in"
76+
does_file_exist "shm/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)