chore: release v1.0.4 #83
Workflow file for this run
This file contains hidden or 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
| # 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 |