-
Notifications
You must be signed in to change notification settings - Fork 164
48 lines (36 loc) · 973 Bytes
/
cypress.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
name: E2E Tests
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '12'
- uses: nanasess/setup-php@master
with:
php-version: '7.4'
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install
- name: Composer update
run: composer update
- name: Install js packages
run: yarn
- name: Refresh assets build
run: yarn build
- name: Install wordpress
run: composer wp:install
continue-on-error: true
- name: Activate Caldera Forms
run: composer wp:activate
continue-on-error: true
- name: Tests setup
run: composer test:setup
continue-on-error: true
# These don't work in CI yet
- name: Run e2e tests
run: yarn test:e2e:ci
continue-on-error: true