diff --git a/Makefile b/Makefile index e9fc1ebe..91c59f4e 100644 --- a/Makefile +++ b/Makefile @@ -19,11 +19,10 @@ cov cover coverage: pre-commit python -Wd -m pytest -s -vv --cov-report term --cov-report html --cov aiobotocore ./tests @echo "open file://`pwd`/htmlcov/index.html" -# BOTO_CONFIG solves https://github.com/travis-ci/travis-ci/issues/7940 mototest: docker pull alpine docker pull lambci/lambda:python3.8 - BOTO_CONFIG=/dev/null python -Wd -X tracemalloc=5 -X faulthandler -m pytest -vv -m moto -n auto --cov-report term --cov-report html --cov-report xml --cov=aiobotocore --cov=tests --log-cli-level=DEBUG $(FLAGS) aiobotocore tests + python -Wd -X tracemalloc=5 -X faulthandler -m pytest -vv -m moto -n auto --cov-report term --cov-report html --cov-report xml --cov=aiobotocore --cov=tests --log-cli-level=DEBUG $(FLAGS) aiobotocore tests @echo "open file://`pwd`/htmlcov/index.html" clean: diff --git a/docs/index.rst b/docs/index.rst index ea3bccd0..91114fa5 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -5,8 +5,8 @@ aiobotocore's documentation! ============================ -.. image:: https://travis-ci.org/aio-libs/aiobotocore.svg?branch=master - :target: https://travis-ci.org/aio-libs/aiobotocore +.. image:: https://github.com/aio-libs/aiobotocore/actions/workflows/python-package.yml/badge.svg?branch=master + :target: https://github.com/aio-libs/aiobotocore/actions/workflows/python-package.yml .. image:: https://codecov.io/gh/aio-libs/aiobotocore/branch/master/graph/badge.svg :target: https://codecov.io/gh/aio-libs/aiobotocore .. image:: https://img.shields.io/pypi/v/aiobotocore.svg diff --git a/tests/boto_tests/test_credentials.py b/tests/boto_tests/test_credentials.py index 73df755a..54ee44eb 100644 --- a/tests/boto_tests/test_credentials.py +++ b/tests/boto_tests/test_credentials.py @@ -864,9 +864,7 @@ async def test_createcredentialresolver(mock_session): assert isinstance(resolver, credentials.AioCredentialResolver) -# Disabled on travis as we cant easily disable the tests properly and -# travis has an IAM role which can't be applied to the mock session -# @pytest.mark.moto +@pytest.mark.moto @pytest.mark.asyncio async def test_get_credentials(mock_session): session = mock_session()