Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,25 @@ jobs:
- flake8.results
- *save_cache_step

# Test that we can build the package properly and package long description will render
test_build:
docker:
- *test_runner
resource_class: *resource_class
steps:
- checkout
- *restore_cache_step
# Install required dependencies
- run: pip install twine readme_renderer[md]
# Ensure we didn't cache from previous runs
- run: rm -rf dist/
# Ensure package will build
- run: python setup.py sdist
# Ensure package long description is valid and will render
# https://github.com/pypa/twine/tree/6c4d5ecf2596c72b89b969ccc37b82c160645df8#twine-check
- run: twine check dist/*
- *save_cache_step

tracer:
docker:
- *test_runner
Expand Down Expand Up @@ -931,11 +950,11 @@ workflows:
<<: *deploy_docs_filters
requires:
- approve_docs_deployment

test:
jobs:
- build_docs
- flake8
- test_build
- aiobotocore:
requires:
- flake8
Expand Down Expand Up @@ -1076,8 +1095,12 @@ workflows:
- flake8
- wait_all_tests:
requires:
# Initial jobs
- build_docs
- flake8
- test_build

# flake8 dependent jobs
- aiobotocore
- aiohttp
- aiopg
Expand Down