diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3a1d6f32..c17391dc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,3 +1,6 @@ +# This file contains configurations to run customer_tests using +# github actions. To learn more about github actions and how to +# update this file please refer to https://docs.github.com/en/actions. name: Tests on: push: @@ -9,26 +12,23 @@ on: permissions: read-all jobs: - test_linux: + tests for linux: runs-on: ubuntu-latest strategy: fail-fast: true matrix: include: - - name: tests-linux-0 - shards: 3 + - name: shard 1 of 3 shard-index: 0 - - name: tests-linux-1 - shards: 3 + - name: shard 2 of 3 shard-index: 1 - - name: tests-linux-2 - shards: 3 + - name: shard 3 of 32 shard-index: 2 steps: - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 - name: ${{ matrix.name }} - run: scripts/verify_tests_on_master.sh --shards ${{ matrix.shards }} --shard-index ${{ matrix.shard-index }} - skp_generator: + run: scripts/verify_tests_on_master.sh --shards 3 --shard-index ${{ matrix.shard-index }} + tests for skp_generator: runs-on: ubuntu-latest strategy: fail-fast: true @@ -36,44 +36,37 @@ jobs: - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 - name: skp_generator run: (cd skp_generator && ./build.sh) - test_windows: + tests for windows: runs-on: windows-latest strategy: fail-fast: true matrix: include: - - name: tests-windows-0 - shards: 5 - shard-index: 0 - - name: tests-windows-1 - shards: 5 + - name: shard 1 of 5 + shard-index: 0 + - name: shard 2 of 5 shard-index: 1 - - name: tests-windows-2 - shards: 5 + - name: shard 3 of 5 shard-index: 2 - - name: tests-windows-3 - shards: 5 + - name: shardd 4 of 5 shard-index: 3 - - name: tests-windows-4 - shards: 5 + - name: shard 5 of 5 shard-index: 4 steps: - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 - name: ${{ matrix.name }} - run: scripts\verify_tests_on_master.bat --shards ${{ matrix.shards }} --shard-index ${{ matrix.shard-index }} - test_mac: + run: scripts\verify_tests_on_master.bat --shards 5 --shard-index ${{ matrix.shard-index }} + tests for macos: runs-on: macos-latest strategy: fail-fast: true matrix: include: - - name: tests-macos-0 - shards: 2 + - name: shard 1 of 2 shard-index: 0 - - name: tests-macos-1 - shards: 2 + - name: shard 2 of 2 shard-index: 1 steps: - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 - name: ${{ matrix.name }} - run: scripts/verify_tests_on_master.sh --shards ${{ matrix.shards }} --shard-index ${{ matrix.shard-index }} + run: scripts/verify_tests_on_master.sh --shards 2 --shard-index ${{ matrix.shard-index }}