Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
comp-sci-project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
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
nguyed99
comp-sci-project
Commits
273a01fa
Commit
273a01fa
authored
1 year ago
by
nguyed99
Browse files
Options
Downloads
Patches
Plain Diff
Update pipeline
parent
70c0f470
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#58693
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
-19
14 additions, 19 deletions
.gitlab-ci.yml
with
14 additions
and
19 deletions
.gitlab-ci.yml
+
14
−
19
View file @
273a01fa
stages
:
-
build
-
test-jobs
-
test-tasks
image
:
python:3.11-bullseye
image
:
python:3.11-bullseye
variables
:
variables
:
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
cache
:
cache
:
key
:
"
${CI_JOB_NAME}"
paths
:
paths
:
-
.cache/pip
-
.cache/pip
-
.venv
build-env
:
stage
:
build
before_script
:
-
pip install poetry
-
poetry --version
-
cd build/
-
poetry install -vv
-
cd ..
format
:
script
:
script
:
-
pip install poetry
-
poetry run pre-commit install
-
poetry --version
-
poetry run yapf -i -r -p .
-
cd build/
-
poetry run ruff .
-
poetry config virtualenvs.in-project
true
-
poetry run ruff . --fix
-
poetry install -vv
-
cd ..
test-jobs
:
test-jobs
:
stage
:
test-jobs
script
:
script
:
-
poetry run pytest jobs/tests/
-
poetry run pytest jobs/tests/
test-tasks
:
test-tasks
:
stage
:
test-tasks
script
:
script
:
-
poetry run pytest tasks/tests/
-
poetry run pytest tasks/tests/
\ No newline at end of file
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