Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
project_browser-3504960
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
project_browser-3504960
Commits
4995c82d
Commit
4995c82d
authored
1 year ago
by
James Shields
Committed by
Chris Wells
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3425989
: GitLab CI - Fix CSpell issues
parent
dca18219
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+14
-0
14 additions, 0 deletions
.gitlab-ci.yml
tests/modules/project_browser_test/src/DrupalOrgClientMiddleware.php
+4
-0
4 additions, 0 deletions
...es/project_browser_test/src/DrupalOrgClientMiddleware.php
with
18 additions
and
0 deletions
.gitlab-ci.yml
+
14
−
0
View file @
4995c82d
...
@@ -57,6 +57,20 @@ variables:
...
@@ -57,6 +57,20 @@ variables:
composer-lint
:
composer-lint
:
allow_failure
:
false
allow_failure
:
false
################
# Require cspell to pass.
# Currently this uses a before script to delete .cspell.json and rename
# dictionary.txt. This can be removed when DrupalCI is disabled.
################
cspell
:
allow_failure
:
false
variables
:
_CSPELL_IGNORE_PATHS
:
'
"README.md","contributor.md","sveltejs/public/build","sveltejs/node_modules","tests/fixtures","fixtures"'
before_script
:
-
cd $CI_PROJECT_DIR/$_WEB_ROOT/modules/custom/$CI_PROJECT_NAME/
-
rm .cspell.json
-
mv dictionary.txt .cspell-project-words.txt
################
################
# Require stylelint checks to pass.
# Require stylelint checks to pass.
################
################
...
...
This diff is collapsed.
Click to expand it.
tests/modules/project_browser_test/src/DrupalOrgClientMiddleware.php
+
4
−
0
View file @
4995c82d
...
@@ -8,6 +8,10 @@ use GuzzleHttp\Promise\FulfilledPromise;
...
@@ -8,6 +8,10 @@ use GuzzleHttp\Promise\FulfilledPromise;
use
GuzzleHttp\Psr7\Response
;
use
GuzzleHttp\Psr7\Response
;
use
Psr\Http\Message\RequestInterface
;
use
Psr\Http\Message\RequestInterface
;
// cspell:ignore Bcore Bdevelopment Bfulltext Blimit Bmachine Bmaintenance
// cspell:ignore Bmodule Boffset Boperator Bpath Bproject Bsecurity Bstatus
// cspell:ignore Btaxonomy Btype Bvalue Cfield
/**
/**
* Middleware to intercept Drupal.org API requests during tests.
* Middleware to intercept Drupal.org API requests during tests.
*/
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment