Bug fix: Add missing dependencies to ioda-import.cmake.in #4
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: Met Office JEDI Integration Test | |
| on: | |
| pull_request: | |
| branches: [develop] | |
| concurrency: | |
| group: ${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/develop' }} | |
| env: | |
| REPO: ${{ github.event.repository.name }} | |
| PR: pr-${{ github.event.number }} | |
| jobs: | |
| build-and-test: | |
| if: | | |
| ( github.repository_owner == 'JCSDA-internal' && github.event.pull_request.draft == false ) | |
| name: gnu-openmpi | |
| runs-on: jedi-self-hosted-ext | |
| steps: | |
| - name: Pre-submit cleanup | |
| run: | | |
| rm -fr ./${{ env.PR }} || true | |
| ls -lgo ./ | |
| - name: Checkout ${{ env.REPO }} | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ./${{ env.PR }}/${{ env.REPO }} | |
| lfs: true | |
| - name: Initiate bundle | |
| working-directory: ${{ env.PR }} | |
| run: ln -sf ./${{ env.REPO }}/CI/meto/* . | |
| - name: Checkout jedicmake | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ./${{ env.PR }}/jedicmake | |
| repository: JCSDA-internal/jedi-cmake | |
| submodules: recursive | |
| token: ${{ secrets.GH_PAT }} | |
| - name: Checkout ioda-data | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ./${{ env.PR }}/ioda-data | |
| repository: JCSDA-internal/ioda-data | |
| token: ${{ secrets.GH_PAT }} | |
| lfs: true | |
| - name: Check build-group for ioda-data | |
| if: github.event_name == 'pull_request' | |
| run: ./${{ env.PR }}/check-build-group.sh ./${{ env.PR }}/ioda-data | |
| - name: Checkout oops | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ./${{ env.PR }}/oops | |
| repository: JCSDA-internal/oops | |
| token: ${{ secrets.GH_PAT }} | |
| - name: Check build-group for oops | |
| if: github.event_name == 'pull_request' | |
| run: ./${{ env.PR }}/check-build-group.sh ./${{ env.PR }}/oops | |
| - name: Checkout jedi-model-data | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ./${{ env.PR }}/jedi-model-data | |
| repository: JCSDA-internal/jedi-model-data | |
| token: ${{ secrets.GH_PAT }} | |
| lfs: true | |
| - name: Check build-group for jedi-model-data | |
| if: github.event_name == 'pull_request' | |
| run: ./${{ env.PR }}/check-build-group.sh ./${{ env.PR }}/jedi-model-data | |
| - name: Checkout vader | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ./${{ env.PR }}/vader | |
| repository: JCSDA-internal/vader | |
| token: ${{ secrets.GH_PAT }} | |
| - name: Check build-group for vader | |
| if: github.event_name == 'pull_request' | |
| run: ./${{ env.PR }}/check-build-group.sh ./${{ env.PR }}/vader | |
| - name: Checkout saber | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ./${{ env.PR }}/saber | |
| repository: JCSDA-internal/saber | |
| token: ${{ secrets.GH_PAT }} | |
| - name: Check build-group for saber | |
| if: github.event_name == 'pull_request' | |
| run: ./${{ env.PR }}/check-build-group.sh ./${{ env.PR }}/saber | |
| - name: Checkout ufo-data | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ./${{ env.PR }}/ufo-data | |
| repository: JCSDA-internal/ufo-data | |
| token: ${{ secrets.GH_PAT }} | |
| lfs: true | |
| - name: Check build-group for ufo-data | |
| if: github.event_name == 'pull_request' | |
| run: ./${{ env.PR }}/check-build-group.sh ./${{ env.PR }}/ufo-data | |
| - name: Checkout ufo | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ./${{ env.PR }}/ufo | |
| repository: JCSDA-internal/ufo | |
| token: ${{ secrets.GH_PAT }} | |
| - name: Check build-group for ufo | |
| if: github.event_name == 'pull_request' | |
| run: ./${{ env.PR }}/check-build-group.sh ./${{ env.PR }}/ufo | |
| - name: Checkout monio | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ./${{ env.PR }}/monio | |
| repository: MetOffice/monio | |
| token: ${{ secrets.GH_PAT }} | |
| - name: Check build-group for monio | |
| if: github.event_name == 'pull_request' | |
| run: ./${{ env.PR }}/check-build-group.sh ./${{ env.PR }}/monio | |
| - name: Checkout opsinputs | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ./${{ env.PR }}/opsinputs | |
| repository: MetOffice/opsinputs | |
| token: ${{ secrets.GH_PAT }} | |
| - name: Check build-group for opsinputs | |
| if: github.event_name == 'pull_request' | |
| run: ./${{ env.PR }}/check-build-group.sh ./${{ env.PR }}/opsinputs | |
| - name: Checkout nemo-feedback | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ./${{ env.PR }}/nemo-feedback | |
| repository: MetOffice/nemo-feedback | |
| token: ${{ secrets.GH_PAT }} | |
| - name: Check build-group for nemo-feedback | |
| if: github.event_name == 'pull_request' | |
| run: ./${{ env.PR }}/check-build-group.sh ./${{ env.PR }}/nemo-feedback | |
| - name: Checkout orca-jedi | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ./${{ env.PR }}/orca-jedi | |
| repository: MetOffice/orca-jedi | |
| token: ${{ secrets.GH_PAT }} | |
| lfs: true | |
| - name: Check build-group for orca-jedi | |
| if: github.event_name == 'pull_request' | |
| run: ./${{ env.PR }}/check-build-group.sh ./${{ env.PR }}/orca-jedi | |
| - name: Checkout jjtests | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ./${{ env.PR }}/jjtests | |
| repository: MetOffice/jjtests | |
| token: ${{ secrets.GH_PAT }} | |
| - name: Check build-group for jjtests | |
| if: github.event_name == 'pull_request' | |
| run: ./${{ env.PR }}/check-build-group.sh ./${{ env.PR }}/jjtests | |
| - name: Checkout ops-um-jedi | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ./${{ env.PR }}/ops-um-jedi | |
| repository: JCSDA-internal/ops-um-jedi | |
| token: ${{ secrets.GH_PAT }} | |
| - name: Check build-group for ops-um-jedi | |
| if: github.event_name == 'pull_request' | |
| run: ./${{ env.PR }}/check-build-group.sh ./${{ env.PR }}/ops-um-jedi | |
| - name: Checkout lfric-jedi | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ./${{ env.PR }}/lfric-jedi | |
| repository: JCSDA-internal/lfric-jedi | |
| token: ${{ secrets.GH_PAT }} | |
| - name: Check build-group for lfric-jedi | |
| if: github.event_name == 'pull_request' | |
| run: ./${{ env.PR }}/check-build-group.sh ./${{ env.PR }}/lfric-jedi | |
| - name: Build and Test | |
| env: | |
| # Container environment | |
| WORKDIR: /var/tmp/${{ env.REPO }}/${{ env.PR }} | |
| MOBB_DATA: /var/tmp/mobb-data | |
| shell: bash | |
| run: | | |
| az acr login --name ngmssboxjediacr | |
| ln -sf /testdata/mobb-data -t ${{ github.workspace }} | |
| docker run --rm \ | |
| --name ${REPO}_${PR}_${GITHUB_SHA::7} \ | |
| --volume ${{ github.workspace }}/${PR}:${WORKDIR} \ | |
| --volume ${{ github.workspace }}/mobb-data:${MOBB_DATA} \ | |
| --env ATLAS_DATA_PATH="${MOBB_DATA}" \ | |
| --env LFRICJEDI_TEST_TIER=0 \ | |
| --env MOBB_DATA="${MOBB_DATA}" \ | |
| --env OMPI_ALLOW_RUN_AS_ROOT=1 \ | |
| --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 \ | |
| --env REPO="${REPO}" \ | |
| --env REPO_TEST_DATA='ioda-data' \ | |
| --workdir="${WORKDIR}" \ | |
| --entrypoint="${WORKDIR}/build-and-test.sh" \ | |
| 'ngmssboxjediacr.azurecr.io/jedibase:alma9' | |
| - name: Cleanup workspace | |
| working-directory: ${{github.workspace}} | |
| run: rm -fr ${{ env.PR }} || true |