Convert sipnet_inputs_outputs.doc to md #25
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
# try to build PEcAn on all versions of R | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
OS: | |
- macos-latest | |
- ubuntu-latest | |
- ubuntu-20.04 | |
- windows-latest | |
runs-on: ${{ matrix.OS }} | |
steps: | |
# checkout source code | |
- uses: actions/checkout@v2 | |
# compile sipnet | |
- 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 |