Skip to content

Commit

Permalink
Force write version files 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 ee55cae
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 @@ -85,13 +85,14 @@ build_base_venvs:
retry: 2
before_script:
- !reference [.testrunner, before_script]
- pip install riot==0.20.1
- pip install riot==0.20.1 "setuptools_scm[toml]>=4"
- unset DD_SERVICE
- unset DD_ENV
- unset DD_TAGS
- unset DD_TRACE_REMOVE_INTEGRATION_SERVICE_NAMES_ENABLED
script:
- |
python -m setuptools_scm --force-write-version-files
hashes=( $(riot list --hash-only "${SUITE_NAME}" | sort | ./.gitlab/ci-split-input.sh) )
if [[ ${#hashes[@]} -eq 0 ]]; then
echo "No riot hashes found for ${SUITE_NAME}"
Expand Down

0 comments on commit ee55cae

Please sign in to comment.