Skip to content

Commit 37bfe53

Browse files
authored
test(docker): upgrade base image and match required coverage to what is tested (aws-deadline#871)
Signed-off-by: Jericho Tolentino <68654047+jericht@users.noreply.github.com>
1 parent 727fac1 commit 37bfe53

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎testing_containers/localuser_sudo_environment/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22

3-
FROM python:3.9-buster
3+
FROM python:3.13-bullseye
44

55
# Set environment variables, and let our tests know that we are in an
66
# environment that can run the sudo tests

‎testing_containers/localuser_sudo_environment/run_tests.sh‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ cd code
1111
python -m venv .venv
1212
source .venv/bin/activate
1313
pip install hatch
14-
# Use the codebuild env so that PIP_INDEX_URL isn't set in the hatch config files.
15-
hatch run codebuild:test -m docker
14+
hatch run pytest --cov=src/deadline --cov-report=html:build/coverage --cov-report=xml:build/coverage/coverage.xml --cov-report=term-missing --cov-fail-under=25 -m docker

0 commit comments

Comments
 (0)