forked from syntro-opensource/silverstripe-phpstan
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (51 loc) · 1.27 KB
/
tests.yml
File metadata and controls
52 lines (51 loc) · 1.27 KB
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
name: 🎭 Tests
on:
push:
paths-ignore:
- .chglog/**
- .github/**
- '!.github/workflows/tests.yml'
- .editorconfig
- .gitattributes
- .gitignore
- .htaccess
- '**.md'
branches:
- master
- '5'
pull_request:
paths-ignore:
- .chglog/**
- .github/**
- '!.github/workflows/tests.yml'
- .editorconfig
- .gitattributes
- .gitignore
- .htaccess
- '**.md'
branches:
- master
- '5'
jobs:
silverstripe-module:
name: 🧰 Silverstripe Module Testsuite
uses: syntro-opensource/workflows/.github/workflows/silverstripe-module.yml@5
with:
phpunit: true
phpunit_config_file: tests/phpunit.xml
phpstan: true
phpstan_config: tests/phpstan.neon
phpstan_bootstrap: tests/bootstrap-phpstan.php
phpcs: true
# silverstripe-client:
# name: 📦 Client Testsuite
# uses: syntro-opensource/workflows/.github/workflows/client.yml@master
# with:
# eslint: true
# eslint_dir: client/src/seo-field/
# eslint_configfile: client/src/seo-field/.eslintrc
# eslint_ext:
# eslint_max-warnings:
# stylelint: true
# stylelint_glob: client/src/seo-field/**/*.scss
# stylelint_max-warnings: