Re-ignore sample configs #34
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: Application Testing | |
| on: | |
| push: | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| jobs: | |
| ApplicationTesting: | |
| name: Application Tests | |
| runs-on: ${{ matrix.os }} | |
| defaults: # Required for conda environment activation | |
| run: | |
| shell: bash -el {0} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ] | |
| steps: | |
| - name: ⏬ Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.event.inputs.branch }} | |
| - name: 🔧 Setup Environment | |
| uses: ./.github/actions/SetupEnvironment | |
| - name: 🔑 Get ECMWF CDS|ADS Credentials | |
| env: | |
| CDSAPIRC: ${{ secrets.ECMWF_ADS_CREDENTIALS }} | |
| run: | | |
| echo "$CDSAPIRC" >> ~/.ecmwf_ads_credentials.json | |
| - name: 🔑 Get GMAO MERRA2 Credentials | |
| env: | |
| NETRC: ${{ secrets.NETRC }} | |
| run: | | |
| echo "$NETRC" >> ~/.netrc | |
| - name: 🧪 Run Tests | |
| run: | | |
| python -m unittest Tests.test_sample_data |