mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
actions take 57
This commit is contained in:
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@@ -94,7 +94,6 @@ jobs:
|
|||||||
echo "python=$python" >> $GITHUB_ENV
|
echo "python=$python" >> $GITHUB_ENV
|
||||||
echo "pip=$pip" >> $GITHUB_ENV
|
echo "pip=$pip" >> $GITHUB_ENV
|
||||||
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV
|
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV
|
||||||
# done
|
|
||||||
|
|
||||||
- name: Build GAM
|
- name: Build GAM
|
||||||
run: |
|
run: |
|
||||||
@@ -103,32 +102,27 @@ jobs:
|
|||||||
source travis/${GAMOS}-install.sh
|
source travis/${GAMOS}-install.sh
|
||||||
echo "gampath=$gampath" >> $GITHUB_ENV
|
echo "gampath=$gampath" >> $GITHUB_ENV
|
||||||
echo "gam=$gam" >> $GITHUB_ENV
|
echo "gam=$gam" >> $GITHUB_ENV
|
||||||
# done
|
|
||||||
|
|
||||||
- name: Basic Tests - all jobs
|
- name: Basic Tests - all jobs
|
||||||
run: |
|
run: |
|
||||||
set +e
|
set +e
|
||||||
cd src
|
cd src
|
||||||
$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
|
||||||
$gam version | grep runner # runner should be part of the path (not /tmp or such)
|
$gam version | grep runner
|
||||||
# done
|
|
||||||
|
|
||||||
- name: Basic Tests - build jobs only
|
- name: Basic Tests - build jobs only
|
||||||
run: |
|
run: |
|
||||||
cd src
|
cd src
|
||||||
# Check Python version
|
|
||||||
vline=$($gam version | grep "Python ")
|
vline=$($gam version | grep "Python ")
|
||||||
python_line=($vline)
|
python_line=($vline)
|
||||||
this_python=${python_line[1]}
|
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}"
|
||||||
# Check OpenSSL version
|
|
||||||
vline=$($gam version extended | grep "OpenSSL ")
|
vline=$($gam version extended | grep "OpenSSL ")
|
||||||
openssl_line=($vline)
|
openssl_line=($vline)
|
||||||
this_openssl="${openssl_line[1]}"
|
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}"
|
||||||
# done
|
|
||||||
|
|
||||||
- name: Live API tests - build jobs only
|
- name: Live API tests - build jobs only
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user