sms-handler/.forgejo/workflows/build.yaml

27 lines
484 B
YAML
Raw Normal View History

2024-12-01 00:53:31 +01:00
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
2024-12-01 01:24:26 +01:00
- name: Install the latest version of uv
2024-12-01 01:37:05 +01:00
uses: astral-sh/setup-uv@v4
2024-12-01 01:24:26 +01:00
2024-12-01 00:53:31 +01:00
- name: Install
2024-12-01 01:24:26 +01:00
run: uv sync
2024-12-01 00:53:31 +01:00
- name: Run tests (API call)
run: pytest -s tests/basic.py