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

31 lines
500 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
2024-12-08 16:26:38 +00:00
- name: Install the latest version of uv
2024-12-08 16:35:06 +00:00
run: |
2024-12-08 16:43:19 +00:00
apt update && apt install -y python3-pip
2024-12-08 16:35:06 +00:00
pip3 install uv
2024-12-08 16:26:38 +00:00
- name: Install dependencies
2024-12-08 16:47:47 +00:00
run: uv sync
2024-12-08 16:26:38 +00:00
- name: Run tests
2024-12-08 16:47:47 +00:00
run: cd penparse && uv run pytest