Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
coolamqp
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
public
coolamqp
Commits
d5c71fff
Unverified
Commit
d5c71fff
authored
10 months ago
by
Piotr Maślanka
Browse files
Options
Downloads
Patches
Plain Diff
fix unit tests
parent
500d6d9b
No related branches found
No related tags found
No related merge requests found
Pipeline
#62114
failed with stages
in 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+32
-1
32 additions, 1 deletion
.gitlab-ci.yml
with
32 additions
and
1 deletion
.gitlab-ci.yml
+
32
−
1
View file @
d5c71fff
...
@@ -9,13 +9,44 @@ stress_test:
...
@@ -9,13 +9,44 @@ stress_test:
alias
:
rabbitmq
alias
:
rabbitmq
before_script
:
before_script
:
-
python setup.py install
-
python setup.py install
-
coverage run --append -m compile_definitions
script
:
script
:
-
coverage run -m stress_tests
-
coverage run
--append
-m stress_tests
-
COOLAMQP_FORCE_SELECT_LISTENER=1 coverage run --append -m stress_tests
-
COOLAMQP_FORCE_SELECT_LISTENER=1 coverage run --append -m stress_tests
after_script
:
-
mv .coverage .coverage.stress
artifacts
:
paths
:
-
"
.coverage.stress"
unittest
:
stage
:
test
services
:
-
name
:
rabbitmq:3-management
alias
:
rabbitmq
before_script
:
-
coverage run --append -m compile_definitions
script
:
-
coverage run --append -m nose2 -vv
after_script
:
-
mv .coverage .coverage.units
artifacts
:
paths
:
-
"
.coverage.units"
calc_coverage
:
stage
:
build
dependencies
:
-
unittest
-
stress_test
script
:
-
coverage combine
-
coverage xml
-
coverage xml
-
coverage report
-
coverage report
coverage
:
/TOTAL.*\s+(\d+\%)/
coverage
:
/TOTAL.*\s+(\d+\%)/
pages
:
pages
:
image
:
zoo.smok.co/build/build:latest
image
:
zoo.smok.co/build/build:latest
stage
:
build
stage
:
build
...
...
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