Skip to content

Commit 782d3f5

Browse files
committed
Run integration and emulator tests on composer.json changes
1 parent 0f63b97 commit 782d3f5

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/emulator-tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- 'src/**'
88
- 'tests/**'
99
- '.github/workflows/emulator-tests.yml'
10+
- 'composer.json'
1011
- 'phpstan.neon.dist'
1112
push:
1213
branches: ['8.x']
@@ -21,6 +22,10 @@ on:
2122
permissions:
2223
contents: read
2324

25+
concurrency:
26+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
27+
cancel-in-progress: true
28+
2429
jobs:
2530
emulator-tests:
2631
name: Emulator Tests

.github/workflows/integration-tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- 'src/**'
88
- 'tests/**'
99
- '.github/workflows/integration-tests.yml'
10+
- 'composer.json'
1011
- 'phpstan.neon.dist'
1112
push:
1213
branches: ['8.x']
@@ -21,6 +22,10 @@ on:
2122
permissions:
2223
contents: read
2324

25+
concurrency:
26+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
27+
cancel-in-progress: true
28+
2429
jobs:
2530
integration-tests:
2631
name: Integration Tests

0 commit comments

Comments
 (0)