Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@ permissions:

# SPDX-License-Identifier: Apache-2.0
name: tests
concurrency:
group: tests-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
pull_request:
jobs:
unittest:
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
Expand All @@ -19,27 +23,35 @@ jobs:
- uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: pyproject.toml
- name: Run unit tests
run: python -m unittest discover -s tests -v
lint:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: "3.12"
cache: pip
cache-dependency-path: pyproject.toml
- run: python -m pip install ruff
- name: lint
run: ruff check .
- name: format
run: ruff format --check .
coverage:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: "3.12"
cache: pip
cache-dependency-path: pyproject.toml
- run: python -m pip install coverage
- name: Measure and enforce the coverage floor
# Ratchet, not a target: the measured baseline on 2026-11-05 was 45%
Expand All @@ -52,6 +64,7 @@ jobs:
# interpreter version, so requiring them directly would break every time the
# matrix changes.
ci-ok:
timeout-minutes: 5
name: ci-ok
if: always()
needs: [unittest, lint, coverage]
Expand Down
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.3.5] - 2026-11-05

### Changed

- CI: `setup-python` caches pip, a `concurrency` group cancels superseded runs,
and every job has a `timeout-minutes` cap — same shape as `minas-webdav`.

## [0.3.4] - 2026-11-05

### Changed
Expand Down Expand Up @@ -151,7 +158,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
(`shares` / `ls` / `du` / `tree` / `df` / `get` / `put` / `cat` / `mkdir` /
`mv` / `cp` / `rm` / `find`), offline tests, gitleaks CI, Apache-2.0.

[Unreleased]: https://github.com/LUgABeEEE/minas-skill/compare/v0.3.4...HEAD
[Unreleased]: https://github.com/LUgABeEEE/minas-skill/compare/v0.3.5...HEAD
[0.3.5]: https://github.com/LUgABeEEE/minas-skill/compare/v0.3.4...v0.3.5
[0.3.4]: https://github.com/LUgABeEEE/minas-skill/compare/v0.3.3...v0.3.4
[0.3.3]: https://github.com/LUgABeEEE/minas-skill/compare/v0.3.2...v0.3.3
[0.3.2]: https://github.com/LUgABeEEE/minas-skill/compare/v0.3.1...v0.3.2
Expand Down
Loading