Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
silkaj
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
silkaj
Commits
937d164e
Commit
937d164e
authored
6 years ago
by
Moul
Browse files
Options
Downloads
Patches
Plain Diff
[enh]
#149
: Add CI/CD .gitlab-ci.yml
parent
7dc0a1af
No related branches found
No related tags found
No related merge requests found
Pipeline
#5844
failed
6 years ago
Stage: build
Stage: checks
Stage: tests
Stage: publish
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+57
-0
57 additions, 0 deletions
.gitlab-ci.yml
with
57 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
57
−
0
View file @
937d164e
stages
:
-
build
-
checks
-
tests
-
publish
image
:
hub.docker.com/r/nikaro/poetry
.changes
:
&changes
only
:
changes
:
-
.gitlab-ci.yml
-
pyproject.toml
-
poetry.lock
-
bin/silkaj
-
silkaj/*.py
-
tests/*.py
build
:
<<
:
*changes
stage
:
build
script
:
-
poetry install
-
poetry build
format
:
<<
:
*changes
stage
:
checks
script
:
-
poetry install
-
poetry shell
-
black --check bin silkaj tests
type
:
<<
:
*changes
stage
:
checks
script
:
-
poetry install
-
poetry shell
-
mypy/pyright
tests
:
<<
:
*changes
stage
:
tests
script
:
-
poetry install
-
poetry shell
-
pytest
-
coverage run --source=duniterpy setup.py test
publish
:
stage
:
publish
tags
:
when
:
manual
script
:
-
poetry install
-
poetry publish --build --username duniter --password $PYPI_PASSWORD
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