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

34 lines
550 B
YAML
Raw Normal View History

2024-12-08 16:26:38 +00:00
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
2024-12-08 16:35:55 +00:00
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.9'
2024-12-08 16:26:38 +00:00
- name: Install the latest version of uv
2024-12-08 16:35:06 +00:00
run: |
pip3 install uv
2024-12-08 16:26:38 +00:00
- name: Install dependencies
run: uv sync
- name: Run tests
run: uv run pytest