Skip to content

Commit e158f22

Browse files
henryiiimayeut
andauthored
ci: update gitlab for dependency-groups (#2089)
* ci: update gitlab for dependency-groups * Update .gitlab-ci.yml * Apply suggestions from code review Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com> --------- Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com>
1 parent 8f21eb1 commit e158f22

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.gitlab-ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ linux:
1616
script:
1717
- curl -sSL https://get.docker.com/ | sh
1818
- docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
19-
- python -m pip install -e ".[dev]" pytest-custom-exit-code
19+
- python -m pip install dependency-groups
20+
- python -m dependency_groups test | xargs python -m pip install -e. pytest-custom-exit-code
2021
- python ./bin/run_tests.py
2122

2223
windows:
@@ -26,7 +27,8 @@ windows:
2627
before_script:
2728
- choco install python -y --version 3.12.4
2829
script:
29-
- py -m pip install -e ".[dev]" pytest-custom-exit-code
30+
- py -m pip install dependency-groups
31+
- py -m pip install -e. pytest-custom-exit-code $(py -m dependency_groups test)
3032
- py bin\run_tests.py
3133
tags:
3234
- saas-windows-medium-amd64
@@ -36,7 +38,8 @@ macos:
3638
variables:
3739
PYTEST_ADDOPTS: -k "unit_test or test_0_basic" --suppress-no-test-exit-code
3840
script:
39-
- python3 -m pip install -e ".[dev]" pytest-custom-exit-code
41+
- python3 -m pip install dependency-groups
42+
- python3 -m dependency_groups test | xargs python3 -m pip install -e. pytest-custom-exit-code
4043
- python3 ./bin/run_tests.py
4144
tags:
4245
- saas-macos-medium-m1

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy