Update to fix ERI tests in alpha07g #240
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
| on: | |
| push: | |
| branches: [ cesm3.0-alphabranch ] | |
| pull_request: | |
| branches: [ cesm3.0-alphabranch ] | |
| jobs: | |
| fleximod-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # oldest supported and latest supported | |
| python-version: ["3.7", "3.x"] | |
| steps: | |
| - id: checkout-CESM | |
| uses: actions/checkout@v4 | |
| - id: run-fleximod | |
| run: | | |
| $GITHUB_WORKSPACE/bin/git-fleximod update -o | |
| echo | |
| echo "Update complete, checking status" | |
| echo | |
| $GITHUB_WORKSPACE/bin/git-fleximod test | |
| - id: check-cleanliness | |
| run: | | |
| echo | |
| echo "Checking if git fleximod matches expected externals" | |
| echo | |
| git add . && git diff --exit-code && git diff --cached --exit-code | |
| # - name: Setup tmate session | |
| # if: ${{ failure() }} | |
| # uses: mxschmitt/action-tmate@v3 |