Update build.yml

This commit is contained in:
Jay Lee
2022-01-25 10:46:59 -05:00
committed by GitHub
parent 959cf3d483
commit c8f13eedbc

View File

@ -343,8 +343,8 @@ jobs:
- name: Basic Tests all jobs - name: Basic Tests all jobs
run: | run: |
echo -e "python: $python\npip: $pip\ngam: $gam\ngampath: $gampath\n" echo -e "python: $PYTHON\npip: $PIP\ngam: $gam\ngampath: $gampath\n"
$python -m unittest discover --start-directory ./ --pattern "*_test.py" --buffer $PYTHON -m unittest discover --start-directory ./ --pattern "*_test.py" --buffer
touch "${gampath}/nobrowser.txt" touch "${gampath}/nobrowser.txt"
$gam version extended $gam version extended
export GAMVERSION=$($gam version simple) export GAMVERSION=$($gam version simple)
@ -358,11 +358,11 @@ jobs:
export vline=$($gam version | grep "Python ") export vline=$($gam version | grep "Python ")
export python_line=($vline) export python_line=($vline)
export this_python=${python_line[1]} export this_python=${python_line[1]}
$python tools/a_atleast_b.py "${this_python}" "${MIN_PYTHON_VERSION}" $PYTHON tools/a_atleast_b.py "${this_python}" "${MIN_PYTHON_VERSION}"
export vline=$($gam version extended | grep "OpenSSL ") export vline=$($gam version extended | grep "OpenSSL ")
export openssl_line=($vline) export openssl_line=($vline)
export this_openssl="${openssl_line[1]}" export this_openssl="${openssl_line[1]}"
$python tools/a_atleast_b.py "${this_openssl}" "${MIN_OPENSSL_VERSION}" $PYTHON tools/a_atleast_b.py "${this_openssl}" "${MIN_OPENSSL_VERSION}"
- name: Live API tests push only - name: Live API tests push only