Skip to content

Commit 5c9bdc0

Browse files
authored
Merge pull request #17 from PecanProject/16-CI-Execution
16 Ensure CI execution of Niwot site
2 parents a8168fb + 2d90752 commit 5c9bdc0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,17 @@ jobs:
3030
- name: compile sipnet
3131
run: make
3232

33+
# remove existing test output file
34+
- name: Remove Niwout Output File
35+
run: rm Sites/Niwot/niwot.out
36+
3337
# run single sipnet run
3438
- name: sipnet on Sites/Niwot/niwot
3539
run: ./sipnet
40+
41+
# check output of test
42+
- name: fail if no niwot output exists
43+
if: ${{ hashFiles('Sites/Niwot/niwot.out') == '' }}
44+
run: |
45+
echo "::error title={No Output}::Test run for Niwot site failed to produce output"
46+
exit 1

0 commit comments

Comments
 (0)