add test script to ci for mac-os #118 #96
Workflow file for this run
This file contains hidden or 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: macOS | |
| on: | |
| push: | |
| branches: | |
| - brew | |
| pull_request: | |
| branches: [ "master" ] | |
| workflow_dispatch: | |
| jobs: | |
| build-native-macos: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Make install script executable | |
| run: chmod +x ./install-forefire-osx.sh | |
| - name: Build ForeFire using macOS install script | |
| run: ./install-forefire-osx.sh | |
| - name: Check ForeFire version | |
| run: ./bin/forefire -v | |
| - name: Install Python test dependencies | |
| run: pip3 install lxml xarray netCDF4 | |
| - name: Run 'runff' Test Script | |
| run: | | |
| cd tests/runff | |
| bash ff-run.bash |