Skip to content

Emscripten support #4572

Emscripten support

Emscripten support #4572

Workflow file for this run

---
name: Test Suite
on:
push:
branches: ["master"]
pull_request:
branches: ["master", "version-*"]
jobs:
tests:
name: "Python ${{ matrix.python-version }}"
runs-on: "ubuntu-latest"
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: "actions/checkout@v4"
- uses: "actions/setup-python@v5"
with:
python-version: "${{ matrix.python-version }}"
allow-prereleases: true
- uses: pyodide/pyodide-actions/install-browser@v2
if: ${{ matrix.python-version ==3.12 }}
with:
runner: selenium
browser: chrome
browser-version: 120
- uses: pyodide/pyodide-actions/install-browser@v2
if: ${{ matrix.python-version ==3.12 }}
with:
runner: selenium
browser: node
browser-version: 22
- uses: pyodide/pyodide-actions/download-pyodide@v2
if: ${{ matrix.python-version ==3.12 }}
with:
version: 0.26.2
to: pyodide_dist
- name: "Install dependencies"
run: "scripts/install"
- name: "Run linting checks"
run: "scripts/check"
- name: "Build package & docs"
run: "scripts/build"
- name: "Run tests"
run: "scripts/test"
- name: "Enforce coverage"
run: "scripts/coverage"