PenParse/.gitea/workflows/run-tests.yml

31 lines
485 B
YAML

name: Run Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install the latest version of uv
run: |
apt update && apt install -y python3-pip
pip3 install uv
- name: Install dependencies
run: uv sync
- name: Run tests
run: uv run pytest