Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add concurrency for pr #346

Merged
merged 12 commits into from
Jan 31, 2022
13 changes: 12 additions & 1 deletion .github/workflows/build-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,22 @@
name: build-and-test-windows
on:
push:
branches: [ main, master ]
branches:
- master
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep main, it's there for future transition to "main" instead of "master"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I missed that in my review. I did see that the other build yaml doesn't have main either though, so they'll both need to be updated.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will fix this when developing the EKS integration test.


paths-ignore:
- '**.md'
- '.github/**'
- '!.github/workflows/**'
khanhntd marked this conversation as resolved.
Show resolved Hide resolved

pull_request:
types: [opened, synchronize, reopened, ready_for_review]
workflow_dispatch:

concurrency:
SaxyPandaBear marked this conversation as resolved.
Show resolved Hide resolved
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true

jobs:
windows-unittest:
runs-on: windows-latest
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,22 @@ on:
push:
branches:
- master

paths-ignore:
- '**.md'
- '.github/**'
- '!.github/workflows/build-*'


pull_request:
types: [opened, synchronize, reopened, ready_for_review]
workflow_dispatch:

jobs:
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true

jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/integrationTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
- master
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
SaxyPandaBear marked this conversation as resolved.
Show resolved Hide resolved

jobs:
EC2LinuxIntegrationTest:
name: 'EC2LinuxIntegrationTest'
Expand Down