Browse Source

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

tags/0.6.10
Bowen Liang 1 year ago
parent
commit
6dd0e07af8
No account linked to committer's email address

+ 7
- 0
.github/workflows/api-tests.yml View File

pull_request: pull_request:
branches: branches:
- main - main
paths:
- api/**

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


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

+ 1
- 1
.github/workflows/style.yml View File

- main - main


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


jobs: jobs:

+ 7
- 0
.github/workflows/tool-test-sdks.yaml View File

pull_request: pull_request:
branches: branches:
- main - main
paths:
- sdks/**

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

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

Loading…
Cancel
Save