File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,7 +74,12 @@ lint python:
7474
7575unit-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
94100integration-test ({{ $runtime .name }}-{{ $runtime .arch }}):
You can’t perform that action at this time.
0 commit comments