Skip to content

Update Makefile

Update Makefile #47

Workflow file for this run

name: Build 🏗️ and test running
on:
push:
branches:
- main
- master
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout your repo 📦
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: "0.4.24" # Pin to a specific uv version
enable-cache: true # Enable caching for uv
cache-dependency-glob: "uv.lock"
- name: Set up Python
run: uv python install # Installs Python version via uv
- name: Sync project dependencies
run: uv sync --no-dev && uv add pytest
- name: Run tests
run: export PYTHONPATH="$PYTHONPATH:$PWD" && uv run pytest # Use uv to run pytest on the tests directory