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>
This commit is contained in:
co-authored by
Matthieu Darbois
parent
8f21eb17be
commit
e158f22d51
+6
-3
@@ -16,7 +16,8 @@ linux:
|
|||||||
script:
|
script:
|
||||||
- curl -sSL https://get.docker.com/ | sh
|
- curl -sSL https://get.docker.com/ | sh
|
||||||
- docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
|
- docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
|
||||||
- python -m pip install -e ".[dev]" pytest-custom-exit-code
|
- python -m pip install dependency-groups
|
||||||
|
- python -m dependency_groups test | xargs python -m pip install -e. pytest-custom-exit-code
|
||||||
- python ./bin/run_tests.py
|
- python ./bin/run_tests.py
|
||||||
|
|
||||||
windows:
|
windows:
|
||||||
@@ -26,7 +27,8 @@ windows:
|
|||||||
before_script:
|
before_script:
|
||||||
- choco install python -y --version 3.12.4
|
- choco install python -y --version 3.12.4
|
||||||
script:
|
script:
|
||||||
- py -m pip install -e ".[dev]" pytest-custom-exit-code
|
- py -m pip install dependency-groups
|
||||||
|
- py -m pip install -e. pytest-custom-exit-code $(py -m dependency_groups test)
|
||||||
- py bin\run_tests.py
|
- py bin\run_tests.py
|
||||||
tags:
|
tags:
|
||||||
- saas-windows-medium-amd64
|
- saas-windows-medium-amd64
|
||||||
@@ -36,7 +38,8 @@ macos:
|
|||||||
variables:
|
variables:
|
||||||
PYTEST_ADDOPTS: -k "unit_test or test_0_basic" --suppress-no-test-exit-code
|
PYTEST_ADDOPTS: -k "unit_test or test_0_basic" --suppress-no-test-exit-code
|
||||||
script:
|
script:
|
||||||
- python3 -m pip install -e ".[dev]" pytest-custom-exit-code
|
- python3 -m pip install dependency-groups
|
||||||
|
- python3 -m dependency_groups test | xargs python3 -m pip install -e. pytest-custom-exit-code
|
||||||
- python3 ./bin/run_tests.py
|
- python3 ./bin/run_tests.py
|
||||||
tags:
|
tags:
|
||||||
- saas-macos-medium-m1
|
- saas-macos-medium-m1
|
||||||
|
|||||||
Reference in New Issue
Block a user