Skip to content
Snippets Groups Projects
Commit 8330de02 authored by Bastien Batardière's avatar Bastien Batardière
Browse files

right ci

parent d7535567
No related branches found
No related tags found
No related merge requests found
...@@ -4,34 +4,34 @@ stages: ...@@ -4,34 +4,34 @@ stages:
- build - build
- publish - publish
#
# black:
# stage: checks
# image: registry.gitlab.com/pipeline-components/black:latest
# script:
# - black --check --verbose -- .
# tags:
# - docker
# tests: black:
# stage: checks stage: checks
# image: "registry.forgemia.inra.fr/jbleger/docker-image-pandas-torch-sphinx:master" image: registry.gitlab.com/pipeline-components/black:latest
# before_script: script:
# pip install '.[tests]' - black --check --verbose -- .
# script: tags:
# - pip install . - docker
# - cd tests
# - pytest tests:
# examples: stage: checks
# stage: checks image: "registry.forgemia.inra.fr/jbleger/docker-image-pandas-torch-sphinx:master"
# image: "registry.forgemia.inra.fr/jbleger/docker-image-pandas-torch-sphinx:master" before_script:
# before_script: pip install '.[tests]'
# pip install '.[tests]' script:
# script: - pip install .
# - pip install . - cd tests
# - cd tests - pytest
# - python create_example_files.py examples:
# - ./test_examples.sh stage: checks
image: "registry.forgemia.inra.fr/jbleger/docker-image-pandas-torch-sphinx:master"
before_script:
pip install '.[tests]'
script:
- pip install .
- cd tests
- python create_example_files.py
- ./test_examples.sh
...@@ -59,8 +59,8 @@ publish_package: ...@@ -59,8 +59,8 @@ publish_package:
- TWINE_PASSWORD=${pypln_token} TWINE_USERNAME=__token__ python -m twine upload dist/* - TWINE_PASSWORD=${pypln_token} TWINE_USERNAME=__token__ python -m twine upload dist/*
tags: tags:
- docker - docker
# only: only:
# - tags - tags
pages: pages:
stage: publish stage: publish
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment