Skip to content

Add shorts to youtube.json #37

Add shorts to youtube.json

Add shorts to youtube.json #37

Workflow file for this run

name: Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
strategy:
matrix:
os: ['ubuntu-latest', 'windows-latest', 'macos-latest']
python-version: ["3.8", "3.9", "3.10", "3.11"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up UV
uses: astral-sh/setup-uv@v3
with:
version: "latest"
- name: Set up Python ${{ matrix.python-version }}
run: |
uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: |
uv sync --dev
- name: Type check with MyPy
run: |
uv run mypy ./leetcode_study_tool
- name: Test with pytest, ensuring 75% coverage
run: |
uv run pytest tests/ --cov --cov-fail-under=75