Skip to content

release: v1.0.3

release: v1.0.3 #75

# This file is part of Flask-Wiki
# Copyright (C) 2025 RERO
#
# Flask-Wiki is free software; you can redistribute it and/or modify
# it under the terms of the Revised BSD License; see LICENSE file for
# more details.
name: CI
on: [push, pull_request, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
dependencies: ["dev", "deploy"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: uv.lock
- name: Set up Python
run: uv python install ${{ matrix.python-version }}
- name: Update and install dependencies
if: ${{ matrix.dependencies == 'dev' }}
run: uv sync --upgrade
- name: Install locked dependencies
if: ${{ matrix.dependencies == 'deploy' }}
run: uv sync --frozen
- name: Run tests
run: uv run poe run_tests