瀏覽代碼

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

tags/0.6.10
Bowen Liang 1 年之前
父節點
當前提交
6dd0e07af8
沒有連結到貢獻者的電子郵件帳戶。
共有 3 個檔案被更改,包括 15 行新增1 行删除
  1. 7
    0
      .github/workflows/api-tests.yml
  2. 1
    1
      .github/workflows/style.yml
  3. 7
    0
      .github/workflows/tool-test-sdks.yaml

+ 7
- 0
.github/workflows/api-tests.yml 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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

Loading…
取消
儲存