-
Notifications
You must be signed in to change notification settings - Fork 115
67 lines (65 loc) · 1.98 KB
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# 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:
branches:
- main
pull_request:
# Declare default permissions as read only.
permissions: read-all
jobs:
linux_tests:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- name: shard 1 of 3
shard-index: 0
- name: shard 2 of 3
shard-index: 1
- name: shard 3 of 3
shard-index: 2
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- name: ${{ matrix.name }}
run: scripts/verify_tests_on_main.sh --shards 3 --shard-index ${{ matrix.shard-index }}
skp_generator_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- name: skp_generator
run: (cd skp_generator && ./build.sh)
windows_tests:
runs-on: windows-latest
strategy:
matrix:
include:
- name: shard 1 of 5
shard-index: 0
- name: shard 2 of 5
shard-index: 1
- name: shard 3 of 5
shard-index: 2
- name: shard 4 of 5
shard-index: 3
- name: shard 5 of 5
shard-index: 4
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- name: ${{ matrix.name }}
run: scripts\verify_tests_on_main.bat --shards 5 --shard-index ${{ matrix.shard-index }}
macos_tests:
runs-on: macos-latest
strategy:
matrix:
include:
- name: shard 1 of 2
shard-index: 0
- name: shard 2 of 2
shard-index: 1
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- name: ${{ matrix.name }}
run: scripts/verify_tests_on_main.sh --shards 2 --shard-index ${{ matrix.shard-index }}