We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5c9bdc0 + 8e959b7 commit db537b7Copy full SHA for db537b7
.github/workflows/ci.yml
@@ -9,7 +9,7 @@ on:
9
10
jobs:
11
12
- # try to build PEcAn on all versions of R
+ # try to build SIPNET on Windows, Ubuntu, MacOS
13
build:
14
strategy:
15
fail-fast: false
@@ -44,3 +44,14 @@ jobs:
44
run: |
45
echo "::error title={No Output}::Test run for Niwot site failed to produce output"
46
exit 1
47
+ # check whether niwot.out has changed
48
+ - name: Check whether niwot.out has changed
49
+ if: runner.os != 'Windows' #fails b/c line endings?
50
+ shell: bash
51
+ run: |
52
+ if git diff --exit-code Sites/Niwot/niwot.out; then
53
+ echo "Success: Niwot.out created and has not changed"
54
+ else
55
+ echo "::error title={Output Changed}::The test file niwot.out has changed"
56
+ exit 1
57
+ fi
0 commit comments