-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganize how we test downstreams and add more (#1377)
- Loading branch information
Showing
5 changed files
with
83 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash -ex | ||
|
||
case "${1}" in | ||
install) | ||
git clone --depth=1 https://github.com/certbot/josepy | ||
cd josepy | ||
git rev-parse HEAD | ||
curl -sSL https://install.python-poetry.org | python3 - | ||
"${HOME}/.local/bin/poetry" export -f constraints.txt --dev --without-hashes -o constraints.txt | ||
pip install -e . pytest -c constraints.txt | ||
;; | ||
run) | ||
cd josepy | ||
pytest tests | ||
;; | ||
*) | ||
exit 1 | ||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash -ex | ||
|
||
case "${1}" in | ||
install) | ||
git clone --depth=1 https://github.com/certbot/certbot | ||
cd certbot | ||
git rev-parse HEAD | ||
tools/pip_install.py -e ./acme[test] | ||
tools/pip_install.py -e ./certbot[test] | ||
pip install -U pyopenssl | ||
;; | ||
run) | ||
cd certbot | ||
# Ignore some warnings for now since they're now automatically promoted | ||
# to errors. We can probably remove this when acme gets split into | ||
# its own repo | ||
pytest -Wignore certbot | ||
pytest acme | ||
;; | ||
*) | ||
exit 1 | ||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash -ex | ||
|
||
case "${1}" in | ||
install) | ||
git clone --depth=1 https://github.com/twisted/twisted | ||
cd twisted | ||
git rev-parse HEAD | ||
pip install ".[all_non_platform]" | ||
;; | ||
run) | ||
cd twisted | ||
python -m twisted.trial -j4 src/twisted | ||
;; | ||
*) | ||
exit 1 | ||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters