Skip to content

Commit

Permalink
Build _version.py file before running tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
purple4reina committed Jan 10, 2025
1 parent 7975dd0 commit 6977fcd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitlab/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ include:
retry: 2
before_script:
- !reference [.testrunner, before_script]
- pip install riot==0.20.1
- pip install riot==0.20.1 "setuptools_scm[toml]>=4"
script:
- export PYTEST_ADDOPTS="${PYTEST_ADDOPTS} --ddtrace"
- export _DD_CIVISIBILITY_USE_CI_CONTEXT_PROVIDER=true
- python -m setuptools_scm --force-write-version-files
- |
envs=( $(hatch env show --json | jq -r --arg suite_name "$SUITE_NAME" 'keys[] | select(. | contains($suite_name))' | sort | ./.gitlab/ci-split-input.sh) )
if [[ ${#envs[@]} -eq 0 ]]; then
Expand Down

0 comments on commit 6977fcd

Please sign in to comment.