Skip to content

Commit 8c59e1e

Browse files
committed
Install dependencies in same step as running tests
1 parent 3df63c6 commit 8c59e1e

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.woodpecker.yaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,29 +19,23 @@ steps:
1919

2020
- name: install
2121
image: *ci_image
22+
environment:
23+
- CHEMPY_SKIP_NO_TESTS=1
2224
commands:
2325
- bash -l .ci/run-01-install-deps-create-sdist.sh
26+
- bash -l .ci/run-02-test-suite.sh
2427
- mkdir -p deploy/public_html/branches/${CI_COMMIT_BRANCH}
2528
- cp dist/chempy-* deploy/public_html/branches/${CI_COMMIT_BRANCH}/
2629

27-
- name: test-suite
28-
image: *ci_image
29-
environment:
30-
- CHEMPY_SKIP_NO_TESTS=1
31-
commands:
32-
- bash -l .ci/run-02-test-suite.sh
33-
depends_on:
34-
- install
3530

3631
- name: render-notebooks
3732
image: *ci_image
3833
environment:
3934
- CHEMPY_DEPRECATION_FILTER=ignore
4035
commands:
36+
- bash -l .ci/run-01-install-deps-create-sdist.sh
4137
- bash -l .ci/run-03-render-notebooks.sh
4238
- .ci/grep-for-binary-data.sh
43-
depends_on:
44-
- install
4539

4640
- name: compile-documentation
4741
image: *ci_image

0 commit comments

Comments
 (0)