28 lines
535 B
YAML
28 lines
535 B
YAML
on:
|
|
push:
|
|
workflow_dispatch:
|
|
inputs:
|
|
verbose:
|
|
description: "Verbose"
|
|
required: false
|
|
default: false
|
|
type: boolean
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: container
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Install the latest version of uv
|
|
uses: astral-sh/setup-uv@v4
|
|
with:
|
|
version: "0.6.3"
|
|
|
|
- name: Install
|
|
run: uv sync
|
|
|
|
- name: Run tests (API call)
|
|
run: .venv/bin/pytest -s tests/basic.py
|