Skip to content

Commit

Permalink
Update names and add configurations.
Browse files Browse the repository at this point in the history
  • Loading branch information
godofredoc committed Aug 25, 2023
1 parent c34a968 commit 8ebf9a5
Showing 1 changed file with 21 additions and 28 deletions.
49 changes: 21 additions & 28 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -9,71 +12,61 @@ 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
steps:
- 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 }}

0 comments on commit 8ebf9a5

Please sign in to comment.