Skip to content

Commit 48c6812

Browse files
author
Chuyang Deng
committed
recover buildspeck
1 parent 16b982c commit 48c6812

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.coveragerc_py38 renamed to .coveragerc_py27

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ timid = True
55
[report]
66
exclude_lines =
77
pragma: no cover
8-
pragma: py3 no cover
9-
if six.PY2
10-
elif six.PY2
8+
pragma: py2 no cover
9+
if six.PY3
10+
elif six.PY3
1111

1212
partial_branches =
1313
pragma: no cover
14-
pragma: py3 no cover
14+
pragma: py2 no cover
1515
if six.PY3
1616
elif six.PY3
1717

buildspec-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ phases:
1919
# run unit tests
2020
- AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_SESSION_TOKEN=
2121
AWS_CONTAINER_CREDENTIALS_RELATIVE_URI= AWS_DEFAULT_REGION=
22-
tox -e py36,py37,py38 --parallel all -- test/unit
22+
tox -e py27,py36,py37 --parallel all -- test/unit
2323

2424
# run functional tests
2525
- $(aws ecr get-login --no-include-email --region us-west-2)
26-
- IGNORE_COVERAGE=- tox -e py36,py37,py38 -- test/functional
26+
- IGNORE_COVERAGE=- tox -e py27,py36,py37 -- test/functional
2727

2828

2929
# build dummy container
@@ -36,7 +36,7 @@ phases:
3636
- cd ../..
3737

3838
# run local integration tests
39-
- IGNORE_COVERAGE=- tox -e py36,py37,py38 -- test/integration/local
39+
- IGNORE_COVERAGE=- tox -e py27,py36,py37 -- test/integration/local
4040

4141
# generate the distribution package
4242
- python3 setup.py sdist

buildspec.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ phases:
2121

2222
# run functional tests
2323
- $(aws ecr get-login --no-include-email --region us-west-2)
24-
- IGNORE_COVERAGE=- tox -e py36,py37,py38 -- test/functional
24+
- IGNORE_COVERAGE=- tox -e py27,py36,py37 -- test/functional
2525

2626
# build dummy container
2727
- python setup.py sdist
@@ -33,4 +33,4 @@ phases:
3333
- cd ../..
3434

3535
# run local integration tests
36-
- IGNORE_COVERAGE=- tox -e py36,py37,py38 -- test/integration/local
36+
- IGNORE_COVERAGE=- tox -e py27,py36,py37 -- test/integration/local

0 commit comments

Comments
 (0)