Skip to content

Commit

Permalink
Merge pull request #17 from PecanProject/16-CI-Execution
Browse files Browse the repository at this point in the history
16 Ensure CI execution of Niwot site
  • Loading branch information
dlebauer authored Aug 16, 2024
2 parents a8168fb + 2d90752 commit 5c9bdc0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,17 @@ jobs:
- name: compile sipnet
run: make

# remove existing test output file
- name: Remove Niwout Output File
run: rm Sites/Niwot/niwot.out

# run single sipnet run
- name: sipnet on Sites/Niwot/niwot
run: ./sipnet

# check output of test
- name: fail if no niwot output exists
if: ${{ hashFiles('Sites/Niwot/niwot.out') == '' }}
run: |
echo "::error title={No Output}::Test run for Niwot site failed to produce output"
exit 1

0 comments on commit 5c9bdc0

Please sign in to comment.