Skip to content

Commit

Permalink
Run tests on pull requests to feature branches (#134)
Browse files Browse the repository at this point in the history
* Run integration tests on pull requests to feature branches

* Also run unit tests on push

---------

Co-authored-by: Simon Beal <[email protected]>
  • Loading branch information
muddyfish and muddyfish authored Feb 9, 2024
1 parent 7a08545 commit c685a73
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Integration tests (Main)

on:
push:
branches: [ "main" ]
branches: [ "main", "feature/*" ]
merge_group:
types: [ "checks_requested" ]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Integration tests (PR)

on:
pull_request_target:
branches: [ "main" ]
branches: [ "main", "feature/*" ]

permissions:
id-token: write
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Tests

on:
push:
branches: [ "main" ]
branches: [ "main", "feature/*" ]
pull_request:
branches: [ "main" ]
branches: [ "main", "feature/*" ]
merge_group:
types: [ "checks_requested" ]

Expand Down

0 comments on commit c685a73

Please sign in to comment.