mirror of
https://github.com/Monadical-SAS/cubbi.git
synced 2025-12-20 12:19:07 +00:00
41 lines
747 B
YAML
41 lines
747 B
YAML
name: Pytests
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
|
|
permissions:
|
|
contents: write
|
|
checks: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
pytest:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
fail-fast: true
|
|
matrix:
|
|
python-version: ["3.12"]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v4
|
|
with:
|
|
enable-cache: true
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install all dependencies
|
|
run: uv sync --frozen --all-extras --all-groups
|
|
|
|
- name: Build goose image
|
|
run: |
|
|
uv tool install --with-editable . .
|
|
cubbi image build goose
|
|
|
|
- name: Tests
|
|
run: |
|
|
uv run --frozen -m pytest -v
|