Skip to content

Commit

Permalink
Port tests-folder-in-sdist safety check from Travis
Browse files Browse the repository at this point in the history
This isn't as much of a thing in my other projects
so not in the orb for now
  • Loading branch information
bitprophet committed Oct 9, 2021
1 parent 3128fff commit 5189a4f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5189a4f

Please sign in to comment.