Skip to content

Commit

Permalink
Merge branch '15_check_output' of github.com:pecanproject/sipnet into…
Browse files Browse the repository at this point in the history
… 15_check_output
  • Loading branch information
dlebauer committed Aug 17, 2024
2 parents 7f17206 + fad5ca3 commit b36de4e
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,12 @@ jobs:
run: |
echo "::error title={No Output}::Test run for Niwot site failed to produce output"
exit 1

# check whether niwot.out has changed
- name: Check whether niwot.out has changed
run: |
# check whether niwot.out has changed
- name: Check whether niwot.out has changed
run: |
if git diff --exit-code Sites/Niwot/niwot.out; then
echo "Success: Niwot.out created and has not changed"
else
echo "::error title={Output Changed}::The test file niwot.out has changed"
exit 1
fi

echo "Success: Niwot.out created and has not changed"
else
echo "::error title={Output Changed}::The test file niwot.out has changed"
exit 1
fi

0 comments on commit b36de4e

Please sign in to comment.