switch to uv, bump deps #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Tests on Push | |
on: | |
push: | |
branches-ignore: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Install uv, python, and dependencies | |
uses: ./.github/actions/setup | |
- name: Linting with ruff | |
run: uvx ruff check . --output-format=github | |
- name: Check formatting with ruff | |
run: uvx ruff format --check . | |
- name: Linting with mypy | |
run: uvx mypy . | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Install uv, python, and dependencies | |
uses: ./.github/actions/setup | |
- name: unittests | |
run: uvx pytest tests/ |