Skip to content

Commit a05b635

Browse files
author
Klaus Purer
committed
test(gitlab): Switch to drupal.org Gitlab testing (#3467189)
1 parent b1c7368 commit a05b635

8 files changed

+63
-161
lines changed

.codecov.yml

-6
This file was deleted.

.cspell-project-words.txt

-5
This file was deleted.

.cspell.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"description": "Cspell config for graphql module.",
3+
"language": "en-US",
4+
"allowCompoundWords": false,
5+
"globRoot": ".",
6+
"minWordLength": 4,
7+
"ignorePaths": [
8+
"assets/explorer/dist/*",
9+
"assets/voyager/dist/*"
10+
],
11+
"dictionaries": [],
12+
"dictionaryDefinitions": [],
13+
"words": [
14+
"dataproducer",
15+
"dataproducers",
16+
"GraphiQL",
17+
"graphqls",
18+
"webonyx"
19+
],
20+
"flagWords": [
21+
"e-mail",
22+
"grey",
23+
"queuing"
24+
]
25+
}

.github/workflows/testing.yml

-120
This file was deleted.

.gitlab-ci.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
################
2+
# Uses the GitLabCI template for Drupal projects.
3+
# The full documentation is on https://project.pages.drupalcode.org/gitlab_templates/
4+
################
5+
6+
include:
7+
- project: $_GITLAB_TEMPLATES_REPO
8+
ref: $_GITLAB_TEMPLATES_REF
9+
file:
10+
- "/includes/include.drupalci.main.yml"
11+
- "/includes/include.drupalci.variables.yml"
12+
- "/includes/include.drupalci.workflows.yml"
13+
14+
variables:
15+
SKIP_ESLINT: 1
16+
SKIP_STYLELINT: 1
17+
# We only wan to run PHPStan once on the max PHP version, skip default runs.
18+
SKIP_PHPSTAN: 1
19+
OPT_IN_TEST_PREVIOUS_MINOR: 1
20+
OPT_IN_TEST_NEXT_MINOR: 1
21+
OPT_IN_TEST_MAX_PHP: 1
22+
OPT_IN_TEST_NEXT_MAJOR: 1
23+
24+
phpstan (custom):
25+
extends: phpstan
26+
rules:
27+
- when: on_success
28+
needs:
29+
- "composer (next major)"

.scrutinizer.yml

-6
This file was deleted.

composer.json

+9
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,14 @@
99
"php": ">=8.1",
1010
"webonyx/graphql-php": "^14.8.0"
1111
},
12+
"require-dev": {
13+
"drupal/redirect": "^1.0",
14+
"phpstan/phpstan": "^1.11.2",
15+
"mglaman/phpstan-drupal": "^1.1.2",
16+
"phpstan/phpstan-deprecation-rules": "^1.0.0",
17+
"jangregor/phpstan-prophecy": "^1.0.0",
18+
"phpstan/phpstan-phpunit": "^1.0.0",
19+
"phpstan/extension-installer": "^1.0"
20+
},
1221
"minimum-stability": "dev"
1322
}

phpunit.xml.dist

-24
This file was deleted.

0 commit comments

Comments
 (0)