Skip to content

Commit ea2bb7c

Browse files
Test with v0.8.0 and Pyodode 0.27.0a2
1 parent 1a6ae3a commit ea2bb7c

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

.github/workflows/main.yml

+22-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os: [ubuntu-latest]
25-
pyodide-version: ["0.27.2"]
25+
pyodide-version: ["0.27.0a2"]
2626
test-config: [
2727
# FIXME: recent version of chrome gets timeout
2828
{ runner: selenium, runtime: chrome, runtime-version: "125" },
@@ -31,8 +31,10 @@ jobs:
3131

3232
steps:
3333
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
34+
# with:
35+
# submodules: recursive
3436
with:
35-
submodules: recursive
37+
ref: v0.8.0
3638

3739
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
3840
with:
@@ -54,6 +56,24 @@ jobs:
5456
run: |
5557
python3 -m pip install -e .[test]
5658
59+
- name: Add this test to the end of the test_install.py file
60+
shell: bash -l {0}
61+
run: |
62+
echo "def test_freeze_after_install_without_deps(selenium_standalone_micropip, wheel_catalog):" >> tests/test_install.py
63+
echo " selenium = selenium_standalone_micropip" >> tests/test_install.py
64+
echo " shapely = wheel_catalog.get(\"shapely\")" >> tests/test_install.py
65+
echo "" >> tests/test_install.py
66+
echo " selenium.run_js(" >> tests/test_install.py
67+
echo " f\"\"\"" >> tests/test_install.py
68+
echo " await pyodide.runPythonAsync(`" >> tests/test_install.py
69+
echo " import micropip" >> tests/test_install.py
70+
echo " await micropip.install(\"{shapely.url}\", deps=False)" >> tests/test_install.py
71+
echo " micropip.freeze()" >> tests/test_install.py
72+
echo " `);" >> tests/test_install.py
73+
echo " \"\"\"" >> tests/test_install.py
74+
echo " )" >> tests/test_install.py
75+
76+
5777
- name: Run tests
5878
shell: bash -l {0}
5979
run: |

0 commit comments

Comments
 (0)