Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
yaswant authored Oct 2, 2023
1 parent 20ed2bb commit fc63f98
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,19 @@ jobs:
run: ./${{ env.BUNDLE }}/get-ref-branch ./${{ env.BUNDLE }}/oops

- name: build and test
env:
MOBB_DATA: ${{ vars.MOBB_DATA }}
run: |
az acr login --name ngmssboxjediacr
(cd ${PWD}/${BUNDLE} && ln -sfT /testdata/model-interface-data)
docker run --rm \
--entrypoint=/usr/local/src/${REPO}/${BUNDLE}/build-and-test \
--workdir=/usr/local/src/${REPO}/${BUNDLE} \
--volume ${PWD}/${BUNDLE}:/usr/local/src/${REPO}/${BUNDLE} \
--volume ${{ runner.tool_cache }}/model-interface-data:/var/tmp/model-interface-data \
'ngmssboxjediacr.azurecr.io/jedibase:alma9' \
&& cd ${{ github.workspace }} \
&& rm -fr ${{ env.BUNDLE }}
# docker run --rm \
# --entrypoint=/usr/local/src/${REPO}/${BUNDLE}/build-and-test \
# --workdir=/usr/local/src/${REPO}/${BUNDLE} \
# --volume ${PWD}/${BUNDLE}:/usr/local/src/${REPO}/${BUNDLE} \
# --volume ${{ runner.tool_cache }}/model-interface-data:/var/tmp/model-interface-data \
# 'ngmssboxjediacr.azurecr.io/jedibase:alma9' \
# && cd ${{ github.workspace }} \
# && rm -fr ${{ env.BUNDLE }}
build2:
if: '! github.event.pull_request.draft'
Expand Down
2 changes: 0 additions & 2 deletions ci/build-and-test
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ trap finally ERR EXIT

cd "${WORKD}"

ls -l "${MOBB_DATA}"

# -- Activate spack env if using JCSDA Docker container
if [[ -f /opt/spack-environment/activate.sh ]]; then
source /opt/spack-environment/activate.sh
Expand Down

0 comments on commit fc63f98

Please sign in to comment.