Skip to content

github workflows: fix bugs #2

github workflows: fix bugs

github workflows: fix bugs #2

Workflow file for this run

name: Test
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/[email protected]
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install UV
uses: astral-sh/setup-uv@v5
- name: Create Venv
run: uv sync --all-extras
- name: Run tests
run: uv run pytest
- name: Upload artifacts [tests]
uses: actions/upload-artifact@master
with:
name: tests
path: ./tests