Enable DevTools tests (#430) #371
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- 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@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- 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@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- 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@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: ${{ matrix.name }} | |
run: scripts/verify_tests_on_main.sh --shards 2 --shard-index ${{ matrix.shard-index }} |