-
Notifications
You must be signed in to change notification settings - Fork 2
45 lines (36 loc) · 900 Bytes
/
ci.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
name: ci
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎
uses: actions/checkout@master
- name: Setup DDEV
uses: ddev/github-action-setup-ddev@v1
with:
autostart: false
- name: Start ddev
run: ddev start
- name: Validate composer.json 🔍
run: ddev composer validate
- name: Install Drupal 👨🏻💻
run: ddev drupal-install
# - name: Run Drupal tests
# run: ddev drupal-tests
# lint:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout 🛎
# uses: actions/checkout@master
## https://github.com/guix77/phpcs-drupal-action#installation
# - name: Drupal coding standards
# uses: guix77/phpcs-drupal-action@v1.0.0