Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Transcript structure generator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
zavolan_group
tools
Transcript structure generator
Commits
323ffe71
Commit
323ffe71
authored
2 years ago
by
Andri Fränkl
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml
parent
81112412
No related branches found
No related tags found
1 merge request
!38
Update .gitlab-ci.yml
Pipeline
#14938
failed
2 years ago
Stage: build
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-0
6 additions, 0 deletions
.gitlab-ci.yml
with
6 additions
and
0 deletions
.gitlab-ci.yml
+
6
−
0
View file @
323ffe71
...
@@ -18,6 +18,9 @@ build-job: # First stage deployment and installation of dependencies.
...
@@ -18,6 +18,9 @@ build-job: # First stage deployment and installation of dependencies.
Coverage-test-job
:
# Test Stage
Coverage-test-job
:
# Test Stage
stage
:
test
# Starts when the above build stages finishes installing dependencies.
stage
:
test
# Starts when the above build stages finishes installing dependencies.
script
:
script
:
-
pip install -r requirements.txt
-
pip install -r requirements_dev.txt
-
pip install -e .
-
coverage run --source tests -m pytest
-
coverage run --source tests -m pytest
-
coverage report -m
-
coverage report -m
-
echo "Coverage successfully deployed."
-
echo "Coverage successfully deployed."
...
@@ -25,6 +28,9 @@ Coverage-test-job: # Test Stage
...
@@ -25,6 +28,9 @@ Coverage-test-job: # Test Stage
Flake8/Pylint/mypy-test-job
:
# Test Stage
Flake8/Pylint/mypy-test-job
:
# Test Stage
stage
:
test
# Deploys and runs all 3 linters.
stage
:
test
# Deploys and runs all 3 linters.
script
:
script
:
-
pip install -r requirements.txt
-
pip install -r requirements_dev.txt
-
pip install -e .
-
flake8 --docstring-convention google tests/ tests/
-
flake8 --docstring-convention google tests/ tests/
-
pylint tests/ tests/
-
pylint tests/ tests/
-
mypy tests/ tests/
-
mypy tests/ 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