Skip to content

Reindent with: in YAML @ README examples #26

Reindent with: in YAML @ README examples

Reindent with: in YAML @ README examples #26

Workflow file for this run

name: test
on:
push:
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: read
jobs:
install-browers:
runs-on: ${{ matrix.test-config.os }}
strategy:
fail-fast: false
matrix:
test-config: [
{
os: "ubuntu-latest",
runner: "selenium",
browser: "chrome",
browser-version: "latest",
driver-version: "latest",
},
{
os: "ubuntu-latest",
runner: "selenium",
browser: "firefox",
browser-version: "latest",
driver-version: "latest",
},
{
os: "ubuntu-latest",
runner: "selenium",
browser: "node",
browser-version: "18",
},
{
os: "macos-latest",
runner: "selenium",
browser: "safari",
},
{
os: "ubuntu-latest",
runner: "playwright",
browser: "chrome",
},
{
os: "ubuntu-latest",
runner: "playwright",
browser: "firefox",
},
]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- uses: ./install-browser
with:
runner: ${{ matrix.test-config.runner }}
playwright-version: ${{ matrix.test-config.playwright-version }}
browser: ${{ matrix.test-config.browser }}
browser-version: ${{ matrix.test-config.browser-version }}
driver-version: ${{ matrix.test-config.driver-version }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Check installation
shell: bash
run: |
python install-browser/test_installation.py | tee result.log
grep "${{ matrix.test-config.runner }}/${{ matrix.test-config.browser }}" result.log
download-pyodide:
strategy:
fail-fast: false
matrix:
version: [0.21.3, 0.22.1, 0.23.2]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- uses: ./download-pyodide
with:
version: ${{ matrix.version }}
to: pyodide
- name: Check download
shell: bash
run: |
ls pyodide | tee result.log
grep -q "pyodide.js" result.log
grep -q "pyodide.asm.js" result.log
grep -q "pyodide.asm.wasm" result.log
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- uses: pre-commit/action@v3.0.0