File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 5151 - flake8.results
5252 - *save_cache_step
5353
54+ # Test that we can build the package properly and package long description will render
55+ test_build :
56+ docker :
57+ - *test_runner
58+ resource_class : *resource_class
59+ steps :
60+ - checkout
61+ - *restore_cache_step
62+ # Install required dependencies
63+ - run : pip install twine readme_renderer[md]
64+ # Ensure we didn't cache from previous runs
65+ - run : rm -rf dist/
66+ # Ensure package will build
67+ - run : python setup.py sdist
68+ # Ensure package long description is valid and will render
69+ # https://github.com/pypa/twine/tree/6c4d5ecf2596c72b89b969ccc37b82c160645df8#twine-check
70+ - run : twine check dist/*
71+ - *save_cache_step
72+
5473 tracer :
5574 docker :
5675 - *test_runner
@@ -931,11 +950,11 @@ workflows:
931950 << : *deploy_docs_filters
932951 requires :
933952 - approve_docs_deployment
934-
935953 test :
936954 jobs :
937955 - build_docs
938956 - flake8
957+ - test_build
939958 - aiobotocore :
940959 requires :
941960 - flake8
@@ -1076,8 +1095,12 @@ workflows:
10761095 - flake8
10771096 - wait_all_tests :
10781097 requires :
1098+ # Initial jobs
10791099 - build_docs
10801100 - flake8
1101+ - test_build
1102+
1103+ # flake8 dependent jobs
10811104 - aiobotocore
10821105 - aiohttp
10831106 - aiopg
You can’t perform that action at this time.
0 commit comments