From e158f22d511580ea7e1c2853fdb002555c15e993 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 20 Nov 2024 01:17:54 -0500 Subject: [PATCH] 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 --------- Co-authored-by: Matthieu Darbois --- .gitlab-ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 53c0d477..ecf0361f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,7 +16,8 @@ linux: script: - curl -sSL https://get.docker.com/ | sh - 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 windows: @@ -26,7 +27,8 @@ windows: before_script: - choco install python -y --version 3.12.4 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 tags: - saas-windows-medium-amd64 @@ -36,7 +38,8 @@ macos: variables: PYTEST_ADDOPTS: -k "unit_test or test_0_basic" --suppress-no-test-exit-code 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 tags: - saas-macos-medium-m1