Trying to solve hanging issue on pymod tests

This commit is contained in:
Matthias Köfferlein 2023-03-01 22:44:02 +01:00
parent 6db6e77458
commit e8a2adbe8c
1 changed files with 15 additions and 11 deletions

View File

@ -94,17 +94,21 @@ jobs:
bash `pwd`/ci-scripts/windows/fix_wheel.sh `pwd`/dist/*.whl "`pwd`/klayout-microbits/klayout-microbits-4.0/msvc2017/$PYTHON_ARCHITECTURE"
displayName: 'Copy klayout bits dlls into wheel'
- script: |
echo PATH=%PATH%
set TESTSRC=.
pip install klayout --no-index -f dist
python testdata/pymod/import_db.py || exit 1
python testdata/pymod/import_rdb.py || exit 1
python testdata/pymod/import_tl.py || exit 1
python testdata/pymod/import_lib.py || exit 1
python testdata/pymod/import_lay.py || exit 1
python testdata/pymod/pya_tests.py || exit 1
displayName: 'Test KLayout pymod'
- task: Bash@3
inputs:
targetType: 'inline'
script: |
set -e
echo $PATH
export TESTSRC=.
pip install klayout --no-index -f dist
python testdata/pymod/import_db.py
python testdata/pymod/import_rdb.py
python testdata/pymod/import_tl.py
python testdata/pymod/import_lib.py
python testdata/pymod/import_lay.py
python testdata/pymod/pya_tests.py
displayName: 'Test KLayout pymod'
- task: CopyFiles@2
condition: always()