-
Notifications
You must be signed in to change notification settings - Fork 53
65 lines (52 loc) · 1.65 KB
/
e2e_playground.yml
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: E2E Playground
run-name: Shopware ${{ github.event.inputs.swVersion }}, PHP ${{ github.event.inputs.phpVersion }}
on:
workflow_dispatch:
inputs:
swVersion:
description: 'Shopware Version'
required: true
phpVersion:
description: 'PHP Version'
required: true
jobs:
build:
name: Build Plugin
runs-on: ubuntu-latest
steps:
- name: Clone Code
uses: actions/checkout@v3
- name: Create Cache Directories
run: |
mkdir -p ~/.build
- name: Mount Build Cache
uses: actions/cache@v3
with:
key: cache-plugin-${{ github.run_id }}
path: ~/.build
- name: Build Plugin
uses: ./.github/actions/build-plugin
e2e:
name: E2E Tests | Shopware ${{ github.event.inputs.swVersion }}, PHP ${{ github.event.inputs.phpVersion }}
needs: build
runs-on: ubuntu-latest
steps:
- name: Clone Code
uses: actions/checkout@v3
- name: Mount Build Cache
id: cache-build
uses: actions/cache@v3
with:
key: cache-plugin-${{ github.run_id }}
path: ~/.build
- name: E2E Tests, Shopware ${{ github.event.inputs.swVersion }}
uses: ./.github/actions/run-e2e
with:
# -------------------------------------------
SHOPWARE: ${{ github.event.inputs.swVersion }}
PHP: ${{ github.event.inputs.phpVersion }}
# -------------------------------------------
RUN_CYPRESS: true
MOLLIE_APIKEY_TEST: ${{ secrets.MOLLIE_APIKEY_TEST }}
# -------------------------------------------
TESTRAIL: false