Skip to content

Run less in CI

Run less in CI #3

Workflow file for this run

name: Draft PR Test
on:
pull_request:
branches: [ main ]
jobs:
build:
if: 'github.event.pull_request.draft'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: chartboost/ruff-action@v1 # Fail fast if there are any linting errors
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Install modelskill
run: pip install .[test]
- name: Test with pytest
run: pytest --ignore tests/notebooks/
- name: Static type check
run: make typecheck