Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Monitor
Incidents
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
smither
cogs
Merge requests
!7
Remove matrix testing, lint and typecheck all cogs
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Remove matrix testing, lint and typecheck all cogs
dev
into
master
Overview
0
Commits
1
Pipelines
2
Changes
1
Merged
Remove matrix testing, lint and typecheck all cogs
Callum Smith
requested to merge
dev
into
master
Aug 22, 2023
Overview
0
Commits
1
Pipelines
2
Changes
1
0
0
Merge request reports
Compare
master
version 1
a0fe70cb
Aug 22, 2023
master (base)
and
latest version
latest version
5cdbbaa1
1 commit,
Aug 22, 2023
version 1
a0fe70cb
2 commits,
Aug 22, 2023
1 file
+
3
−
20
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
3
−
20
View file @ 5cdbbaa1
Edit in single-file editor
Open in Web IDE
Show full file
@@ -2,13 +2,6 @@ stages:
-
dependencies
-
test
.cog-parallel
:
&cog-parallel
parallel
:
matrix
:
-
COG
:
-
quote
-
sudo
variables
:
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
@@ -49,25 +42,20 @@ lint:
stage
:
test
allow_failure
:
true
script
:
-
pylint --load-plugins=pylint_gitlab --output-format=gitlab-codeclimate:pylint.json
$COG
-
pylint --load-plugins=pylint_gitlab --output-format=gitlab-codeclimate:pylint.json
./**/*.py
rules
:
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
changes
:
-
$COG/*
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event"
changes
:
-
$COG/*
artifacts
:
reports
:
codequality
:
pylint.json
when
:
always
<<
:
*cog-parallel
type_check
:
stage
:
test
allow_failure
:
true
script
:
-
EXITCODE=0 && mypy
$COG
/__init__.py --no-error-summary > mypy.txt || EXITCODE=$?
-
EXITCODE=0 && mypy
*
/__init__.py --no-error-summary > mypy.txt || EXITCODE=$?
-
PYTHONHASHSEED=0 mypy-gitlab-code-quality < mypy.txt > mypy.json
-
exit $EXITCODE
artifacts
:
@@ -75,9 +63,4 @@ type_check:
codequality
:
mypy.json
rules
:
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
changes
:
-
$COG/*
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event"
changes
:
-
$COG/*
<<
:
*cog-parallel
\ No newline at end of file
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event"
\ No newline at end of file
Loading