diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2021-10-08 19:04:20 -0400 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2021-10-08 20:40:08 -0400 |
commit | 5189a4f2029b186f022e84b71c42ba0e8d995cb0 (patch) | |
tree | 58d3ef1eb317a283a710ed8c4c017ac7d49ea268 /.circleci | |
parent | 3128fff093f23e063e30330a90777357140b950a (diff) |
Port tests-folder-in-sdist safety check from Travis
This isn't as much of a thing in my other projects
so not in the orb for now
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index a0f97621..bb047bb6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,6 +6,22 @@ orbs: jobs: + sdist-test-suite: + executor: + name: orb/default + version: "3.6" + steps: + - orb/setup + - run: inv release.build --no-wheel --directory . + - run: | + cd dist + tar xzvf *.tar.gz + rm -v *.tar.gz + cd paramiko-* + pip install -e . + inv -e test + - orb/debug + kerberos: executor: name: orb/default @@ -54,6 +70,12 @@ workflows: # requires: ["Test 3.6 (w/ coverage, latest crypto)"] - orb/test-release: name: Release test + # Ensure test suite is included in sdist & functions appropriately + - sdist-test-suite: + name: Test within sdist + requires: + - "Test 3.6 (w/ coverage, latest crypto)" + - "Release test" - orb/test: name: Test << matrix.version >> # It's not worth testing on other interpreters if the baseline one |