EAMxx: fix cld fraction unit test to work also with cupy #3004
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: gh | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| - maint-3.0 | |
| paths: | |
| # first, yes to these | |
| - '.github/workflows/e3sm-gh-ci-cime-tests.yml' | |
| - 'cime_config/**' | |
| - 'components/eam/**' | |
| - 'components/eamxx/**' | |
| - 'components/elm/**' | |
| - 'driver-moab/**' | |
| - 'driver-mct/**' | |
| # second, no to these | |
| - '!components/eam/docs/**' | |
| - '!components/eam/mkdocs.yml' | |
| - '!components/eamxx/docs/**' | |
| - '!components/eamxx/mkdocs.yml' | |
| - '!components/elm/docs/**' | |
| - '!components/elm/mkdocs.yml' | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| ci: | |
| if: ${{ github.repository == 'E3SM-Project/E3SM' }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| test: | |
| - SMS_D_Ln5_P4.ne4pg2_oQU480.F2010.ghci-oci_gnu | |
| - ERS_Ld5_P4.ne4pg2_oQU480.F2010.ghci-oci_gnu.eam-wcprod_F2010 | |
| - SMS_D_Ln5_P4.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.ghci-oci_gnu | |
| - ERS_Ld5_P4.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.ghci-oci_gnu.eamxx-prod | |
| - ERS_P4.ne4pg2_oQU480.A.ghci-oci_gnu | |
| - ERS_P4.ne4pg2_oQU480.I1850ELMCN.ghci-oci_gnu.elm-qian_1948 | |
| container: | |
| image: ghcr.io/e3sm-project/containers-ghci:ghci-0.2.1 | |
| steps: | |
| - | |
| name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| show-progress: false | |
| submodules: recursive | |
| - | |
| name: CIME | |
| working-directory: cime/scripts | |
| run: | | |
| ./create_test ${{ matrix.test }} --wait --debug | |
| - | |
| name: Artifacts | |
| uses: actions/upload-artifact@v4 | |
| if: ${{ always() }} | |
| with: | |
| name: ${{ matrix.test }} | |
| path: | | |
| /projects/e3sm/scratch/${{ matrix.test }}*/TestStatus.log | |
| /projects/e3sm/scratch/${{ matrix.test }}*/bld/*.bldlog.* | |
| /projects/e3sm/scratch/${{ matrix.test }}*/run/*.log.* | |
| /projects/e3sm/scratch/${{ matrix.test }}*/run/*.cprnc.out |