Skip to content
This repository was archived by the owner on Mar 26, 2024. It is now read-only.

Commit 62d3616

Browse files
committed
Add lint stage to tests
1 parent 236523a commit 62d3616

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.gitlab-ci.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
11
stages:
2+
- lint
23
- test
34
- build
45

6+
lint:
7+
stage: lint
8+
image:
9+
name: $CI_REGISTRY_IMAGE:latest
10+
entrypoint: [""]
11+
before_script:
12+
- pip install -e ".[all]"
13+
script:
14+
- ./scripts-dev/lint.sh
15+
516
test-trial:
617
stage: test
718
image:
819
name: $CI_REGISTRY_IMAGE:latest
920
entrypoint: [""]
10-
script:
21+
before_script:
1122
- pip install -e ".[all]"
23+
script:
1224
- trial -j 4 tests
1325

1426
test-sytest:

0 commit comments

Comments
 (0)