Skip to content

feat: Interactive Playground + dev.to 블로그 초안 #111

feat: Interactive Playground + dev.to 블로그 초안

feat: Interactive Playground + dev.to 블로그 초안 #111

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
pip install poetry
poetry install --only dev
- name: Ruff check
run: poetry run ruff check .
- name: Ruff format check
run: poetry run ruff format --check .
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install dependencies
run: |
pip install poetry
poetry install --with dev ${{ matrix.python-version == '3.12' && '--all-extras' || '' }}
- name: Run tests
run: poetry run pytest -v