diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 97906eb..500147d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,7 +22,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - pyodide-version: ["0.27.2"] + pyodide-version: ["0.27.0a2"] test-config: [ # FIXME: recent version of chrome gets timeout { runner: selenium, runtime: chrome, runtime-version: "125" }, @@ -31,8 +31,10 @@ jobs: steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + # with: + # submodules: recursive with: - submodules: recursive + ref: v0.8.0 - uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 with: @@ -54,6 +56,24 @@ jobs: run: | python3 -m pip install -e .[test] + - name: Add this test to the end of the test_install.py file + shell: bash -l {0} + run: | + echo "def test_freeze_after_install_without_deps(selenium_standalone_micropip, wheel_catalog):" >> tests/test_install.py + echo " selenium = selenium_standalone_micropip" >> tests/test_install.py + echo " shapely = wheel_catalog.get(\"shapely\")" >> tests/test_install.py + echo "" >> tests/test_install.py + echo " selenium.run_js(" >> tests/test_install.py + echo " f\"\"\"" >> tests/test_install.py + echo " await pyodide.runPythonAsync(`" >> tests/test_install.py + echo " import micropip" >> tests/test_install.py + echo " await micropip.install(\"{shapely.url}\", deps=False)" >> tests/test_install.py + echo " micropip.freeze()" >> tests/test_install.py + echo " `);" >> tests/test_install.py + echo " \"\"\"" >> tests/test_install.py + echo " )" >> tests/test_install.py + + - name: Run tests shell: bash -l {0} run: |