Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
stax_backend_api
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aryan Noshirvani
stax_backend_api
Commits
56a4feaa
Commit
56a4feaa
authored
Aug 01, 2026
by
Aryan Noshirvani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add PIP cache to speed up CI pipelines
parent
8886499f
Pipeline
#967
failed with stages
in 8 minutes and 11 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
.gitlab-ci.yml
.gitlab-ci.yml
+7
-1
No files found.
.gitlab-ci.yml
View file @
56a4feaa
...
@@ -4,13 +4,19 @@ stages:
...
@@ -4,13 +4,19 @@ stages:
variables
:
variables
:
PYTHON_VERSION
:
"
3.10"
PYTHON_VERSION
:
"
3.10"
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
cache
:
key
:
${CI_COMMIT_REF_SLUG}
paths
:
-
.cache/pip/
test_api
:
test_api
:
stage
:
test
stage
:
test
image
:
python:3.10-slim
image
:
python:3.10-slim
before_script
:
before_script
:
-
apt-get update && apt-get install -y ffmpeg git build-essential
-
apt-get update && apt-get install -y ffmpeg git build-essential
-
pip install -
-no-cache-dir -
r requirements.txt pytest
-
pip install -r requirements.txt pytest
script
:
script
:
-
PYTHONPATH=. pytest tests/
-
PYTHONPATH=. pytest tests/
only
:
only
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment