-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Patrick J. McNerthney <pat@mcnerthney.com>
- Loading branch information
1 parent
ce3a377
commit 025a92b
Showing
5 changed files
with
45 additions
and
14 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 |
---|---|---|
|
@@ -55,3 +55,6 @@ docs/_build/ | |
|
||
# PyBuilder | ||
target/ | ||
|
||
# Downloaded by test.sh | ||
get-pip.py |
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
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 | ||
set -eux | ||
|
||
# This script tests the test.sh script using many permutations | ||
# of operating systems, python versions, and actions. Recreating | ||
# the container for each permutation for every action ensures | ||
# that a prior action did not already install a required package. | ||
|
||
export ENGINE=${ENGINE:="docker"} | ||
export RECREATE_CONTAINER=${RECREATE_CONTAINER:="true"} | ||
|
||
for os in fedora:29 fedora:30 fedora:31 centos:7 centos:8 | ||
do | ||
os_version=$(echo $os | cut -d : -f 2) | ||
os=$(echo $os | cut -d : -f 1) | ||
for python_version in 2 3 | ||
do | ||
for action in test bandit pylint markdownlint | ||
do | ||
ACTION=$action PYTHON_VERSION=$python_version OS=$os OS_VERSION=$os_version ./test.sh | ||
done | ||
done | ||
done |
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