Skip to content

Commit

Permalink
tweak splitting of tests to load balance
Browse files Browse the repository at this point in the history
  • Loading branch information
rfiorella committed Sep 7, 2024
1 parent 0ae513c commit 7ab3a1f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ats-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
name: Build and test with Docker
name: Build Docker
steps:
- name: Check out the Amanzi repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -72,9 +72,9 @@ jobs:
working-directory: Docker
run:
docker push ${{secrets.DOCKERHUB_USERNAME}}/ats:${{env.ATS_BRANCH_TAG}}-latest
serial-tests:
serial-reg15-tests:
runs-on: ubuntu-latest
name: serial tests
name: serial and regression 1-5 series tests
needs: build
steps:
- name: Check out the Amanzi repo
Expand All @@ -96,10 +96,10 @@ jobs:
id: tests
working-directory: Docker
run:
docker run --rm ${{secrets.DOCKERHUB_USERNAME}}/ats:${{env.ATS_BRANCH_TAG}}-latest /bin/bash -c "cd ~/amanzi_builddir/ats; ctest --output-on-failure -LE PARALLEL"
docker run --rm ${{secrets.DOCKERHUB_USERNAME}}/ats:${{env.ATS_BRANCH_TAG}}-latest /bin/bash -c "cd ~/amanzi_builddir/ats; ctest --output-on-failure -LE PARALLEL -E 'ats_regression_test-[1-9][0-9]|ats_regression_test-0[6-9]'"
parallel-tests:
runs-on: ubuntu-latest
name: parallel tests
name: parallel and regression 6-10 series tests
needs: build
steps:
- name: Check out the Amanzi repo
Expand All @@ -121,5 +121,5 @@ jobs:
id: tests
working-directory: Docker
run:
docker run --rm ${{secrets.DOCKERHUB_USERNAME}}/ats:${{env.ATS_BRANCH_TAG}}-latest /bin/bash -c "cd ~/amanzi_builddir/ats; ctest --output-on-failure -L PARALLEL"
docker run --rm ${{secrets.DOCKERHUB_USERNAME}}/ats:${{env.ATS_BRANCH_TAG}}-latest /bin/bash -c "cd ~/amanzi_builddir/ats; ctest --output-on-failure -L PARALLEL; ctest --output-on-failure -R 'ats_regression_test-0[6-9]|ats_regression_test-[1-9][0-9]'"

0 comments on commit 7ab3a1f

Please sign in to comment.