Add linting and tests on PRs #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests | |
on: [pull_request] | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
# Setup | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Install the latest version of uv | |
uses: astral-sh/setup-uv@v3 | |
with: | |
version: "latest" | |
# Install | |
- name: Install | |
run: uv sync | |
# Run Tests | |
- name: Run tests | |
run: uv run pytest |