Skip to content

Commit

Permalink
fix: finely target wf runs for integration test actions
Browse files Browse the repository at this point in the history
We were running redundant test runs on every PR, so this change
provides more targeting configuration which will reduce the excess.
  • Loading branch information
shaneutt committed Mar 23, 2021
1 parent 3367520 commit 9b55079
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/integration_test.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
name: Integration Tests

on: [push, pull_request]
on:
pull_request:
branches:
- 'main'
- 'next'
push:
branches:
- 'main'
- 'next'
tags:
- 'v*.*.*'

jobs:
test:
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/integration_test_legacy.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
name: Integration Tests (Legacy)

on: [push, pull_request]
on:
pull_request:
branches:
- 'main'
- 'next'
push:
branches:
- 'main'
- 'next'
tags:
- 'v*.*.*'

jobs:
test:
Expand Down

0 comments on commit 9b55079

Please sign in to comment.