|
@@ -71,7 +71,6 @@ jobs:
|
|
|
python -m pip install --upgrade pip
|
|
|
pip install build
|
|
|
# install taipy-gui from based on setup.py version
|
|
|
- pip install "{{ steps.taipy_gui_version.outputs.VERSION }}"
|
|
|
|
|
|
- name: Build and test the package
|
|
|
run: |
|
|
@@ -82,6 +81,15 @@ jobs:
|
|
|
python -c "import taipy as tp; tp.gui"
|
|
|
python -c "import taipy as tp; tp.rest"
|
|
|
|
|
|
+ echo """
|
|
|
+ import taipy
|
|
|
+ from pathlib import Path
|
|
|
+ taipy_gui_core_path = Path(taipy.__file__).absolute().parent / 'gui_core' / 'lib' / 'taipy-gui-core.js'
|
|
|
+ if not taipy_gui_core_path.exists():
|
|
|
+ raise FileNotFoundError(f'taipy-gui-core.js not found in {taipy_gui_core_path}')
|
|
|
+ """ > /tmp/verify_gui_core.py
|
|
|
+ python /tmp/verify_gui_core.py
|
|
|
+
|
|
|
- name: Extract commit hash
|
|
|
shell: bash
|
|
|
run: echo "HASH=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
|