Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
MeanFi
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
Service Desk
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
Quantum Tinkerer
MeanFi
Commits
83b8ea46
Commit
83b8ea46
authored
1 year ago
by
Kostas Vilkelis
Browse files
Options
Downloads
Patches
Plain Diff
setup CI for tests
parent
a30cb997
No related branches found
No related tags found
1 merge request
!4
Interface refactoring
Pipeline
#174376
failed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+14
-12
14 additions, 12 deletions
.gitlab-ci.yml
with
14 additions
and
12 deletions
.gitlab-ci.yml
+
14
−
12
View file @
83b8ea46
image
:
gitlab.kwant-project.org:5005/qt/research-docker
stages
:
-
run profiler
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
before_script
:
-
shopt -s nullglob
# sane behaviour when globs do not match
-
pip install gitlab-ci-tools
# for last-good-build
-
LAST_GOOD_SHA=$(last-good-build || echo '')
run profiler
:
script
:
-
cd codes; export PYTHONPATH="."; cd ..
-
pip install memray pyinstrument
-
python profiling/graphene.py
stage
:
run profiler
artifacts
:
paths
:
-
timeProfile.html
-
memoryProfile.bin
run tests
:
# Needed because of coverage reports
script
:
-
pip install pytest-cov pytest-randomly pytest-repeat pytest-ruff pytest-regressions
-
py.test
coverage
:
'
/(?i)total.*?
(100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
artifacts
:
paths
:
-
htmlcov
reports
:
junit
:
junit.xml
coverage_report
:
coverage_format
:
cobertura
path
:
coverage.xml
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