Skip to content

Update README.md

Update README.md #12

Workflow file for this run

name: test
on:
push:
branches: [main]
pull_request: {}
jobs:
test_python:
name: Tests on ${{ matrix.os }}, Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
timeout-minutes: 10
defaults:
run:
shell: bash
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.8"]
include:
- os: ubuntu-latest
python-version: "3.9"
- os: ubuntu-latest
python-version: "3.10"
- os: ubuntu-latest
python-version: "3.11"
- os: ubuntu-latest
python-version: "3.12"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
# Lint, typecheck, test
- name: Install marimo-labs with dev dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: Lint
run: |
ruff check marimo_labs/
- name: Typecheck
if: ${{ matrix.python-version == '3.9' || matrix.python-version == '3.10' }}
run: |
mypy --config-file pyproject.toml marimo_labs/
- name: Test
run: |
pytest -v tests/