Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: moved unittest config to Gitlab #10513

Merged
merged 7 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .circleci/config.templ.yml
Original file line number Diff line number Diff line change
Expand Up @@ -830,13 +830,6 @@ jobs:
env: 'pytest_plugin_v2'
snapshot: true

unittest:
<<: *machine_executor
steps:
- run_test:
pattern: 'unittest'
snapshot: true

asynctest:
executor: ddtrace_dev
steps:
Expand Down
5 changes: 5 additions & 0 deletions .gitlab/tests/contrib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,11 @@ tornado:
variables:
SUITE_NAME: "tornado"

unittest:
extends: .test_base_riot_snapshot
variables:
SUITE_NAME: "unittest"

wsgi:
extends: .test_base_riot_snapshot
variables:
Expand Down
3 changes: 3 additions & 0 deletions riotfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -1646,6 +1646,9 @@ def select_pys(min_version=MIN_PYTHON_VERSION, max_version=MAX_PYTHON_VERSION):
env={
"DD_PATCH_MODULES": "unittest:true",
"DD_AGENT_PORT": "9126",
# gitlab sets the service name to the repo name while locally the default service name is used
# setting DD_SERVICE ensures the output of the snapshot tests is consistent.
"DD_UNITTEST_SERVICE": "unittest",
},
pys=select_pys(),
),
Expand Down
Loading