Commit c3fb7bc5 authored by Wout De Nolf's avatar Wout De Nolf
Browse files

Merge branch 'ci_template' into 'main'

Ci template

See merge request !5
parents a0f76e62 c50601f5
Pipeline #50370 passed with stages
in 45 seconds
image: python:3.6
include:
- remote: "https://gitlab.esrf.fr/workflow/ewoks/ewoks/raw/main/.gitlab-ci-template.yml"
lint:
stage: test
before_script:
- pip install flake8
script:
- flake8
only:
refs:
- main
- merge_requests
test:
stage: test
before_script:
- pip install pytest-cov
script:
- pip install .[test]
- pytest --cov=./ .
only:
refs:
- main
- merge_requests
black-format:
stage: test
before_script:
- pip install black
script:
- LC_ALL=C.UTF-8 black --check --safe .
only:
refs:
- main
- merge_requests
test-3.6:
extends: ".test-3.6"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment