Skip to content

Commit

Permalink
Merge pull request #1150 from jakob-keller/remove-travis-ci
Browse files Browse the repository at this point in the history
Remove remaining references to Travis CI
  • Loading branch information
jakob-keller authored Aug 18, 2024
2 parents 32808d2 + 49185ad commit 33c6293
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions tests/boto_tests/test_credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 33c6293

Please sign in to comment.