Skip to content

Commit e4965ac

Browse files
moving var
1 parent a85ad52 commit e4965ac

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

ci/input_files/build.yaml.tpl

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,12 @@ lint python:
7474

7575
unit-test ({{ $runtime.name }}-{{ $runtime.arch }}):
7676
stage: test
77-
tags: ["arch:amd64"]
77+
tags:
78+
{{ if eq $runtime.arch "arm64" }}
79+
- "arch:arm64"
80+
{{ else }}
81+
- "arch:amd64"
82+
{{ end }}
7883
image: registry.ddbuild.io/images/mirror/python:{{ $runtime.image }}
7984
artifacts:
8085
when: always
@@ -83,12 +88,13 @@ unit-test ({{ $runtime.name }}-{{ $runtime.arch }}):
8388
expire_in: 1 week
8489
variables:
8590
PYTHONFAULTHANDLER: "1"
86-
91+
_DD_PROFILING_STACK_FAST_COPY: false
92+
cache: &{{ $runtime.name }}-{{ $runtime.arch }}-cache
8793
before_script:
8894
- PYTHON_VERSION={{ $runtime.python_version }} ARCH={{ $runtime.arch }} ./scripts/setup_python_env.sh
8995
script:
9096
- source venv/bin/activate
91-
- _DD_PROFILING_STACK_FAST_COPY=false pytest -vv
97+
- pytest -vv
9298
retry: 2
9399

94100
integration-test ({{ $runtime.name }}-{{ $runtime.arch }}):

0 commit comments

Comments
 (0)