Skip to content

Commit

Permalink
Test with v0.8.0 and Pyodode 0.27.0a2
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Feb 2, 2025
1 parent 1a6ae3a commit ea2bb7c
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand All @@ -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:
Expand All @@ -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: |
Expand Down

0 comments on commit ea2bb7c

Please sign in to comment.