Commit 312e5b88 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Fix execution rules for ci jobs

parent e8ce443a
Pipeline #2393152 passed with stages
in 1 minute and 37 seconds
......@@ -20,6 +20,8 @@ image: registry.cern.ch/docker.io/library/python:3.8
pre-commit:
stage: test
rules:
- when: always
before_script:
- pip install pre-commit
# TODO: There should be a proper way of doing this
......@@ -36,12 +38,16 @@ pre-commit:
pylint:
extends: .setup_environment
stage: test
rules:
- when: always
script:
- pylint src/lhcbstacks
pytest:
extends: .setup_environment
stage: test
rules:
- when: always
script:
- pytest
......@@ -61,6 +67,8 @@ generate_stacks:
generate_project_list:
extends: .setup_environment
stage: run
rules:
- when: always
artifacts:
paths:
- projects.json
......
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