Skip to content

Commit

Permalink
test(gitlab): Switch to drupal.org Gitlab testing (#3467189)
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaus Purer committed Aug 9, 2024
1 parent b1c7368 commit a05b635
Show file tree
Hide file tree
Showing 8 changed files with 63 additions and 161 deletions.
6 changes: 0 additions & 6 deletions .codecov.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .cspell-project-words.txt

This file was deleted.

25 changes: 25 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"description": "Cspell config for graphql module.",
"language": "en-US",
"allowCompoundWords": false,
"globRoot": ".",
"minWordLength": 4,
"ignorePaths": [
"assets/explorer/dist/*",
"assets/voyager/dist/*"
],
"dictionaries": [],
"dictionaryDefinitions": [],
"words": [
"dataproducer",
"dataproducers",
"GraphiQL",
"graphqls",
"webonyx"
],
"flagWords": [
"e-mail",
"grey",
"queuing"
]
}
120 changes: 0 additions & 120 deletions .github/workflows/testing.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
################
# Uses the GitLabCI template for Drupal projects.
# The full documentation is on https://project.pages.drupalcode.org/gitlab_templates/
################

include:
- project: $_GITLAB_TEMPLATES_REPO
ref: $_GITLAB_TEMPLATES_REF
file:
- "/includes/include.drupalci.main.yml"
- "/includes/include.drupalci.variables.yml"
- "/includes/include.drupalci.workflows.yml"

variables:
SKIP_ESLINT: 1
SKIP_STYLELINT: 1
# We only wan to run PHPStan once on the max PHP version, skip default runs.
SKIP_PHPSTAN: 1
OPT_IN_TEST_PREVIOUS_MINOR: 1
OPT_IN_TEST_NEXT_MINOR: 1
OPT_IN_TEST_MAX_PHP: 1
OPT_IN_TEST_NEXT_MAJOR: 1

phpstan (custom):
extends: phpstan
rules:
- when: on_success
needs:
- "composer (next major)"
6 changes: 0 additions & 6 deletions .scrutinizer.yml

This file was deleted.

9 changes: 9 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,14 @@
"php": ">=8.1",
"webonyx/graphql-php": "^14.8.0"
},
"require-dev": {
"drupal/redirect": "^1.0",
"phpstan/phpstan": "^1.11.2",
"mglaman/phpstan-drupal": "^1.1.2",
"phpstan/phpstan-deprecation-rules": "^1.0.0",
"jangregor/phpstan-prophecy": "^1.0.0",
"phpstan/phpstan-phpunit": "^1.0.0",
"phpstan/extension-installer": "^1.0"
},
"minimum-stability": "dev"
}
24 changes: 0 additions & 24 deletions phpunit.xml.dist

This file was deleted.

0 comments on commit a05b635

Please sign in to comment.