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

Commit db20100

Browse files
committed
Setup poetry install for CI
1 parent 04c8f28 commit db20100

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.gitlab-ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ lint:
1010
entrypoint: [""]
1111
before_script:
1212
- apt-get update
13-
- apt-get install -yqq git
13+
- apt-get install -yqq git libpq-dev build-essential
1414
- pip install poetry
15-
- poetry install
15+
- poetry install --extras all
1616
script:
1717
- poetry run isort --check synapse
1818
- poetry run black --check synapse
@@ -24,9 +24,10 @@ test-trial:
2424
name: $CI_REGISTRY_IMAGE:latest
2525
entrypoint: [""]
2626
before_script:
27-
- pip install -e ".[all]"
27+
- pip install poetry
28+
- poetry install
2829
script:
29-
- trial -j 4 tests
30+
- poetry run trial -j 4 tests
3031

3132
test-sytest:
3233
stage: test

0 commit comments

Comments
 (0)