ci: 调整 main 的并发设置

This commit is contained in:
hemengyang 2022-05-19 12:47:05 +00:00 committed by GitHub
parent 052018c462
commit 52ba6eae4c

View File

@ -6,13 +6,14 @@ on:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-frontend:
name: Build Frontend
runs-on: ubuntu-latest
concurrency:
group: build-frontend-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
@ -29,9 +30,6 @@ jobs:
name: Test Coverage
runs-on: ${{ matrix.os }}
needs: build-frontend
concurrency:
group: test-coverage-${{ github.ref }}-${{ matrix.os }}-${{ matrix.python-version }}
cancel-in-progress: true
strategy:
matrix:
python-version: ["3.9", "3.10"]