Skip to content

Merge pull request #555 from lincc-frameworks/u/olynn/update-py-versi… #871

Merge pull request #555 from lincc-frameworks/u/olynn/update-py-versi…

Merge pull request #555 from lincc-frameworks/u/olynn/update-py-versi… #871

Workflow file for this run

name: CI for Template
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@main
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@main
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install dependencies
run: |
sudo apt-get update
uv pip install --system -e .[dev]
- name: Run unit tests with pytest / pytest-copie
run: |
git config --global init.defaultBranch main
python -m pytest --python_version ${{ matrix.python-version }}