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

34 lines
553 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: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.9.20'
- name: Install the latest version of uv
run: |
pip3 install uv
- name: Install dependencies
run: uv sync
- name: Run tests
run: uv run pytest