Skip to content

Commit

Permalink
chore: add acceptance tests and migration tests to report in merge qu…
Browse files Browse the repository at this point in the history
…eue (#1590)

* chore: add acceptance tests and migration tests to report in merge queue

* fix based on dorny/paths-filter#183

* fix
  • Loading branch information
andreaangiolillo authored Nov 3, 2023
1 parent e2cd98a commit 24fddcf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
type: string
pull_request: # you can run a specic job in your PR using GitHub labels
types: [ labeled ]
merge_group: # needed for merge queue

jobs:
change-detection:
Expand Down Expand Up @@ -39,6 +40,8 @@ jobs:
- uses: dorny/paths-filter@v2
id: filter
with:
base: ${{ github.event.merge_group.base_ref}}
ref: ${{ github.event.merge_group.head_ref }}
filters: |
assume_role:
- 'mongodbatlas/**provider**.go'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/migration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
type: string
pull_request:
types: [ labeled ]
merge_group: # needed for merge queue

jobs:
change-detection:
Expand All @@ -27,6 +28,8 @@ jobs:
- uses: dorny/paths-filter@v2
id: filter
with:
base: ${{ github.event.merge_group.base_ref}}
ref: ${{ github.event.merge_group.head_ref }}
filters: |
project:
- 'mongodbatlas/fw_data_source_mongodbatlas_project_ip_access_list*.go'
Expand Down

0 comments on commit 24fddcf

Please sign in to comment.