Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Portal
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
Deploy
Container Registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fachschaft
Portal
Commits
b914ef7d
Unverified
Commit
b914ef7d
authored
6 months ago
by
karp
Browse files
Options
Downloads
Patches
Plain Diff
Update pipeline to check types and formatting
(cherry picked from commit
2576afc0
)
parent
c02109e4
No related branches found
No related tags found
1 merge request
!27
Update pipeline to check types and formatting
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+21
-0
21 additions, 0 deletions
.gitlab-ci.yml
with
21 additions
and
0 deletions
.gitlab-ci.yml
+
21
−
0
View file @
b914ef7d
stages
:
-
test
-
deploy
variables
:
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
lint-openapi
:
image
:
name
:
redocly/cli
...
...
@@ -36,6 +43,20 @@ test-frontend:
-
cypress/screenshots
expire_in
:
1 week
test-python
:
image
:
python:latest
stage
:
test
cache
:
paths
:
-
.cache/pip
before_script
:
-
pip install pipenv
-
pipenv requirements --dev > requirements.txt
-
pip install -r requirements.txt
script
:
-
black --check $CI_PROJECT_DIR
-
mypy .
# This snippet is copied and modified from the GitLab Documentation (as of 2021-01-10, the contents of the script seem to have changed by now)
# * Title of the documentation page: "Building a Docker image with kaniko"
# * Author: (c) 2011-present GitLab B.V.
...
...
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