Skip to content

Commit

Permalink
paralleize image tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rfiorella committed Jul 20, 2023
1 parent d2d2a58 commit 5e967d6
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions .github/workflows/ats-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,24 @@ jobs:
amanzi_tpls_ver=${{env.AMANZI_TPLS_VER}}
file: Docker/Dockerfile-ATS-build
context: ./Docker
- name: Run amd64 tests
id: tests_amd64
working-directory: Docker
run:
docker run --rm ${{secrets.DOCKERHUB_USERNAME}}/ats:${{env.ATS_BRANCH_TAG}}-latest /bin/bash -c "cd ~/amanzi_builddir/ats; ctest"
- name: Run arm64 tests
id: tests_arm64
working-directory: Docker
run:
docker run --platform=linux/arm64 --rm ${{secrets.DOCKERHUB_USERNAME}}/ats:${{env.ATS_BRANCH_TAG}}-latest /bin/bash -c "cd ~/amanzi_builddir/ats; ctest"
amd64_tests:
runs-on: ubuntu-latest
name: Run ats tests on amd64 image
steps:
- name: Run amd64 tests
id: tests_amd64
needs: buildx_test
working-directory: Docker
run:
docker run --rm ${{secrets.DOCKERHUB_USERNAME}}/ats:${{env.ATS_BRANCH_TAG}}-latest /bin/bash -c "cd ~/amanzi_builddir/ats; ctest"
arm64_tests:
runs-on: ubuntu-latest
name: Run ats tests on arm64 image
steps:
- name: Run arm64 tests
id: tests_arm64
needs: buildx_test
working-directory: Docker
run:
docker run --platform=linux/arm64 --rm ${{secrets.DOCKERHUB_USERNAME}}/ats:${{env.ATS_BRANCH_TAG}}-latest /bin/bash -c "cd ~/amanzi_builddir/ats; ctest"

0 comments on commit 5e967d6

Please sign in to comment.