Basic Unit testing after installation

This commit is contained in:
Thomas Ferreira de Lima 2019-01-02 00:09:27 -05:00
parent 8dc77ee314
commit b5788d8d7d
No known key found for this signature in database
GPG Key ID: 43E98870EAA0A86E
1 changed files with 13 additions and 1 deletions

View File

@ -72,5 +72,17 @@ jobs:
set "KLAYOUT_BITS=%cd%\klayout-microbits\klayout-microbits-1.0\msvc2017\%PYTHON_ARCHITECTURE%" set "KLAYOUT_BITS=%cd%\klayout-microbits\klayout-microbits-1.0\msvc2017\%PYTHON_ARCHITECTURE%"
echo KLAYOUT_BITS=%KLAYOUT_BITS% echo KLAYOUT_BITS=%KLAYOUT_BITS%
python setup.py install python setup.py install
displayName: 'Build KLayout'
- script: |
set PATH=%KLAYOUT_BITS%\curl\bin;%KLAYOUT_BITS%\expat\bin;%KLAYOUT_BITS%\ptw\bin;%KLAYOUT_BITS%\zlib\bin;%PATH%
python testdata/pymod/import_db.py
python testdata/pymod/import_rdb.py
python testdata/pymod/import_tl.py
python testdata/pymod/pya_tests.py
displayName: 'Test KLayout pymod'
# - script : |
# python setup.py bdist_wheel
# displayName: 'Building KLayout wheel'
displayName: 'Building KLayout'