Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mednet
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
medai
software
mednet
Commits
dad03c93
Commit
dad03c93
authored
10 months ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
[ci] Improve caching
parent
d30cd43e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!33
Full dev environment based on pixi-only
Pipeline
#86313
passed
10 months ago
Stage: qa
Stage: test
Stage: doc
Stage: dist
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+20
-10
20 additions, 10 deletions
.gitlab-ci.yml
with
20 additions
and
10 deletions
.gitlab-ci.yml
+
20
−
10
View file @
dad03c93
...
...
@@ -60,10 +60,12 @@ quality:
-
exists
:
-
.pre-commit-config.yaml
cache
:
key
:
pre-commit-cache
key
:
files
:
-
pixi.lock
paths
:
-
_pixi
-
_cache/pre-commit
-
_cache/pixi
script
:
-
pixi run -e qa-only qa-verbose
-
pixi run -e qa-only uv-check
...
...
@@ -81,9 +83,11 @@ tests:
-
job
:
quality
optional
:
true
cache
:
key
:
test-cache-${TAG}-${PYTHON}
key
:
files
:
-
pixi.lock
paths
:
-
_
cache/
pixi
-
_pixi
script
:
-
pixi run -e test-only-${PYTHON//\./} test-ci
coverage
:
'
/(?:TOTAL|total|Total).*?
(100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
...
...
@@ -105,9 +109,11 @@ documentation:
-
job
:
quality
optional
:
true
cache
:
key
:
doc-cache
key
:
files
:
-
pixi.lock
paths
:
-
_
cache/
pixi
-
_pixi
script
:
-
pixi run -e doc-only doc
-
pixi run -e doc-only doctest
...
...
@@ -120,9 +126,11 @@ python-package:
needs
:
-
tests
cache
:
key
:
build-cache
key
:
files
:
-
pixi.lock
paths
:
-
_
cache/
pixi
-
_pixi
script
:
-
pixi run -e build-only build
-
pixi run -e build-only check
...
...
@@ -165,9 +173,11 @@ pypi:
needs
:
-
python-package
cache
:
key
:
pypi-cache
key
:
files
:
-
pixi.lock
paths
:
-
_
cache/
pixi
-
_pixi
rules
:
# conditions:
# - only for tags in PEP-440 style (on any branch)
...
...
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