Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
picodata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
picodata
Commits
916ea4d8
Commit
916ea4d8
authored
1 year ago
by
Dmitry Ivanov
Committed by
Maksim Kaitmazian
10 months ago
Browse files
Options
Downloads
Patches
Plain Diff
chores(CI): Run lints for tests
parent
36cecf1c
No related branches found
No related tags found
1 merge request
!920
pgproto module
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pgproto/.gitlab-ci.yml
+20
-8
20 additions, 8 deletions
pgproto/.gitlab-ci.yml
with
20 additions
and
8 deletions
pgproto/.gitlab-ci.yml
+
20
−
8
View file @
916ea4d8
...
@@ -36,6 +36,26 @@ variables:
...
@@ -36,6 +36,26 @@ variables:
echo "No cache found"
echo "No cache found"
fi
fi
lint-for-tests
:
stage
:
test
tags
:
-
docker
image
:
name
:
${BASE_IMAGE}
pull_policy
:
if-not-present
variables
:
GIT_DEPTH
:
100
GIT_SUBMODULE_STRATEGY
:
recursive
script
:
-
|
# Pipenv install
ci-log-section start "pipenv-install" Installing pip dependencies ...
PIPENV_VENV_IN_PROJECT=1 PIP_NO_CACHE_DIR=true python3.10 -m pipenv install --deploy
ci-log-section end "pipenv-install"
# - pipenv run pytest --numprocesses auto -v
-
pipenv run lint
test-linux
:
test-linux
:
extends
:
.test
extends
:
.test
tags
:
tags
:
...
@@ -53,14 +73,6 @@ test-linux:
...
@@ -53,14 +73,6 @@ test-linux:
-
cargo clippy --version
-
cargo clippy --version
-
cargo clippy -- --deny clippy::all
-
cargo clippy -- --deny clippy::all
-
|
# Pipenv install
ci-log-section start "pipenv-install" Installing pip dependencies ...
PIPENV_VENV_IN_PROJECT=1 PIP_NO_CACHE_DIR=true python3.10 -m pipenv install --deploy
ci-log-section end "pipenv-install"
# - pipenv run pytest --numprocesses auto -v
# - pipenv run lint
-
|
-
|
# Save cache
# Save cache
if [ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]; then
if [ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]; then
...
...
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