Skip to content

Merge pull request #17 from ku-nlp/dependabot/github_actions/main/ast… #107

Merge pull request #17 from ku-nlp/dependabot/github_actions/main/ast…

Merge pull request #17 from ku-nlp/dependabot/github_actions/main/ast… #107

Workflow file for this run

name: Lint and test
on: [ push, pull_request ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.10"
- name: Install pre-commit
run: pipx install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: "3.10"
- name: Install dependencies
run: uv sync
- name: Run tests
run: uv run pytest scripts/filter.py