1
Fork 0
This repository has been archived on 2026-08-15. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
2026SEL3-project-Brittle_St.../.github/workflows/test.yml

31 lines
663 B
YAML

name: Test
on:
pull_request:
types: [opened, synchronize, ready_for_review]
branches:
- main
- dev
jobs:
pytest:
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"
- name: Setup python
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- name: Install dependencies
run: uv sync --frozen
- name: Run tests with pytest
run: uv run pytest tests/