-
-
Notifications
You must be signed in to change notification settings - Fork 31
42 lines (40 loc) · 1.07 KB
/
integration.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Integration Test
on:
workflow_dispatch: {}
schedule:
- cron: 0 12 10 * *
push:
branches:
- master
paths-ignore:
- "docs/**"
- package.json
- package-lock.json
- "*.md"
pull_request:
branches:
- master
paths-ignore:
- "docs/**"
- package.json
- package-lock.json
- "*.md"
jobs:
compute_matrix:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.supported-version.outputs.matrix }}
steps:
- uses: graycoreio/github-actions-magento2/supported-version@main
id: supported-version
- run: echo ${{ steps.supported-version.outputs.matrix }}
integration-workflow:
needs: compute_matrix
uses: graycoreio/github-actions-magento2/.github/workflows/integration.yaml@main
with:
package_name: graycore/magento2-cors
matrix: ${{ needs.compute_matrix.outputs.matrix }}
test_command: ../../../vendor/bin/phpunit ../../../vendor/graycore/magento2-cors/Test/Integration
fail-fast: false
secrets:
composer_auth: ${{ secrets.COMPOSER_AUTH }}