actions take 57

This commit is contained in:
Jay Lee
2020-12-04 09:12:34 -05:00
parent 446da392d9
commit 4794578688

View File

@@ -94,7 +94,6 @@ jobs:
echo "python=$python" >> $GITHUB_ENV
echo "pip=$pip" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV
# done
- name: Build GAM
run: |
@@ -103,32 +102,27 @@ jobs:
source travis/${GAMOS}-install.sh
echo "gampath=$gampath" >> $GITHUB_ENV
echo "gam=$gam" >> $GITHUB_ENV
# done
- name: Basic Tests - all jobs
run: |
set +e
cd src
$python -m unittest discover --start-directory ./ --pattern "*_test.py" --buffer
touch $gampath/nobrowser.txt
touch "${gampath}/nobrowser.txt"
$gam version extended
$gam version | grep runner # runner should be part of the path (not /tmp or such)
# done
$gam version | grep runner
- name: Basic Tests - build jobs only
run: |
cd src
# Check Python version
vline=$($gam version | grep "Python ")
python_line=($vline)
this_python=${python_line[1]}
$python tools/a_atleast_b.py "${this_python}" "${MIN_PYTHON_VERSION}"
# Check OpenSSL version
vline=$($gam version extended | grep "OpenSSL ")
openssl_line=($vline)
this_openssl="${openssl_line[1]}"
$python tools/a_atleast_b.py "${this_openssl}" "${MIN_OPENSSL_VERSION}"
# done
- name: Live API tests - build jobs only
run: |