last test if new profile is shown on HTML without local run #16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build index page | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.12"] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install --no-cache-dir -r ./requirements.txt | |
| - name: Check imports | |
| run: | | |
| python - <<'PY' | |
| import pkgutil, converter_app | |
| print("path:", converter_app.__path__) | |
| print("submodules:", [m.name for m in pkgutil.iter_modules(converter_app.__path__)]) | |
| import importlib.util | |
| print("profile_migration spec:", importlib.util.find_spec("converter_app.profile_migration")) | |
| PY | |
| pip show -f chemotion-converter-app | |
| - name: Build index | |
| run: | | |
| python -m profile_manager build_index |