File tree 4 files changed +55
-5
lines changed
4 files changed +55
-5
lines changed Original file line number Diff line number Diff line change @@ -359,7 +359,7 @@ jobs:
359
359
360
360
python314 :
361
361
docker :
362
- - image : public.ecr.aws/docker/library/python:3.14.0a5
362
+ - image : public.ecr.aws/docker/library/python:3.14.0a6
363
363
- image : public.ecr.aws/docker/library/postgres:16.2-bookworm
364
364
environment :
365
365
POSTGRES_USER : root
Original file line number Diff line number Diff line change 38
38
- " sha256:ae24158f83adcb3ec1dead14356e6debc9f3125167624408d95338faacc5cce3"
39
39
# public.ecr.aws/docker/library/python:3.13.2-bookworm
40
40
- " sha256:90a15cf04e17111d514958f3b17186f2e239546f75530b1e301059f0b70de41f"
41
- # public.ecr.aws/docker/library/python:3.14.0a5 -bookworm
42
- - " sha256:c00e5b4b511a77e0b11c52b88cb195c0dcc371e71d2f7ebb3ba1173387d71f92 "
41
+ # public.ecr.aws/docker/library/python:3.14.0a6 -bookworm
42
+ - " sha256:cc1702492859ae14ce2c417060215a94153a51f42954eb7fd5f275b5b3039926 "
43
43
taskRef :
44
44
name : python-tracer-unittest-default-task
45
45
workspaces :
Original file line number Diff line number Diff line change 74
74
image : public.ecr.aws/docker/library/python@sha256:90a15cf04e17111d514958f3b17186f2e239546f75530b1e301059f0b70de41f
75
75
command : ["sh", "-c", "'true'"]
76
76
- name : prepuller-314
77
- # public.ecr.aws/docker/library/python:3.14.0a5 -bookworm
78
- image : public.ecr.aws/docker/library/python@sha256:c00e5b4b511a77e0b11c52b88cb195c0dcc371e71d2f7ebb3ba1173387d71f92
77
+ # public.ecr.aws/docker/library/python:3.14.0a6 -bookworm
78
+ image : public.ecr.aws/docker/library/python@sha256:cc1702492859ae14ce2c417060215a94153a51f42954eb7fd5f275b5b3039926
79
79
command : ["sh", "-c", "'true'"]
80
80
81
81
# Use the pause container to ensure the Pod goes into a `Running` phase
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -x
3
+
4
+ POSITIONAL_ARGS=()
5
+ TESTS=(" tests" )
6
+
7
+ while [[ $# -gt 0 ]]; do
8
+ case $1 in
9
+ --aws)
10
+ TESTS=(" tests_aws" )
11
+ shift # past argument
12
+ shift # past value
13
+ ;;
14
+ --default)
15
+ TESTS=(" tests" )
16
+ shift # past argument
17
+ shift # past value
18
+ ;;
19
+ --all)
20
+ TESTS=(" tests tests_aws" )
21
+ shift # past argument
22
+ shift # past value
23
+ ;;
24
+ --cov)
25
+ COVERAGE=True
26
+ shift # past argument
27
+ shift # past value
28
+ ;;
29
+ -* |--* )
30
+ echo " Unknown option 1" # save positional arg
31
+ shift # past argument
32
+ ;;
33
+ esac
34
+ done
35
+
36
+ set -- " ${POSITIONAL_ARGS[@]} " # restore positional parameters
37
+
38
+ if [ -z ${COVERAGE} ]; then
39
+ pytest -vv " ${TESTS[@]} "
40
+ else
41
+ coverage run \
42
+ --source=instana \
43
+ --module pytest \
44
+ --verbose \
45
+ --junitxml=test-results \
46
+ " ${TESTS[@]} " # pytest options (not coverage options anymore)
47
+
48
+ coverage report -m
49
+ coverage html
50
+ fi
You can’t perform that action at this time.
0 commit comments