Pārlūkot izejas kodu

test: triggering tests on changes and allow cancelling in-progress CI test jobs (#4743)

tags/0.6.10
Bowen Liang pirms 1 gada
vecāks
revīzija
6dd0e07af8
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam

+ 7
- 0
.github/workflows/api-tests.yml Parādīt failu

@@ -4,9 +4,16 @@ on:
pull_request:
branches:
- main
paths:
- api/**

concurrency:
group: api-tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
test:
name: API Tests
runs-on: ubuntu-latest
strategy:
matrix:

+ 1
- 1
.github/workflows/style.yml Parādīt failu

@@ -6,7 +6,7 @@ on:
- main

concurrency:
group: dep-${{ github.head_ref || github.run_id }}
group: style-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:

+ 7
- 0
.github/workflows/tool-test-sdks.yaml Parādīt failu

@@ -4,6 +4,13 @@ on:
pull_request:
branches:
- main
paths:
- sdks/**

concurrency:
group: sdk-tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
build:
name: unit test for Node.js SDK

Notiek ielāde…
Atcelt
Saglabāt