From ac521f322aeac82c16ef6ac1e7a34c3edb531a1b Mon Sep 17 00:00:00 2001 From: Thomas Juul Dyhr Date: Wed, 18 Mar 2026 18:07:53 +0100 Subject: [PATCH] docs/ci: Add test matrix badges, fix mypy consistency, add CodeQL concurrency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - README: Add CI test matrix table (Python 3.12/3.13 ร— Ubuntu/macOS) - README: Update version to 0.9.0, test count to 1,885+, date to March 2026 - lint.yml: Standardize mypy options to --ignore-missing-imports (matches ci.yml) - codeql-analysis.yml: Add concurrency group (cancel-in-progress: true) Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/codeql-analysis.yml | 4 ++++ .github/workflows/lint.yml | 5 +++-- README.md | 17 ++++++++++++----- 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d883ff9..3ac2349 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -13,6 +13,10 @@ name: "CodeQL Analysis" schedule: - cron: "0 3 * * 0" # Runs weekly at 03:00 UTC on Sundays +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: analyze: name: Analyze code with CodeQL diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3973e27..7125f13 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -51,8 +51,9 @@ jobs: - name: Run type checking run: | echo "::group::MyPy Type Checking" - echo "Running MyPy type checking (strict mode)" - mypy versiontracker --junit-xml=mypy-report.xml --disable-error-code=import-untyped --disable-error-code=misc --disable-error-code=unused-ignore + mypy versiontracker \ + --ignore-missing-imports \ + --junit-xml=mypy-report.xml echo "::endgroup::" - name: Upload lint reports diff --git a/README.md b/README.md index 94683f8..b32fc13 100644 --- a/README.md +++ b/README.md @@ -25,11 +25,18 @@ [![Release](https://img.shields.io/github/v/release/docdyhr/versiontracker?logo=github&logoColor=white&label=Latest%20Release)](https://github.com/docdyhr/versiontracker/releases/latest) [![PyPI](https://img.shields.io/pypi/v/macversiontracker?logo=pypi&logoColor=white&label=PyPI)](https://pypi.org/project/macversiontracker/) +#### ๐Ÿงช Test Matrix + +| Platform | Python 3.12 | Python 3.13 | +|----------|:-----------:|:-----------:| +| **Ubuntu 22.04** | [![CI](https://img.shields.io/github/actions/workflow/status/docdyhr/versiontracker/ci.yml?branch=master&logo=ubuntu&logoColor=white&label=)](https://github.com/docdyhr/versiontracker/actions/workflows/ci.yml) | [![CI](https://img.shields.io/github/actions/workflow/status/docdyhr/versiontracker/ci.yml?branch=master&logo=ubuntu&logoColor=white&label=)](https://github.com/docdyhr/versiontracker/actions/workflows/ci.yml) | +| **macOS Latest** | [![CI](https://img.shields.io/github/actions/workflow/status/docdyhr/versiontracker/ci.yml?branch=master&logo=apple&logoColor=white&label=)](https://github.com/docdyhr/versiontracker/actions/workflows/ci.yml) | [![CI](https://img.shields.io/github/actions/workflow/status/docdyhr/versiontracker/ci.yml?branch=master&logo=apple&logoColor=white&label=)](https://github.com/docdyhr/versiontracker/actions/workflows/ci.yml) | + ### ๐Ÿ”’ Security & Quality [![Code Coverage](https://img.shields.io/codecov/c/github/docdyhr/versiontracker/master?logo=codecov&logoColor=white&label=Codecov)](https://codecov.io/gh/docdyhr/versiontracker) [![Test Coverage](https://img.shields.io/badge/Coverage-70%2B%25-brightgreen?logo=pytest&logoColor=white)](https://github.com/docdyhr/versiontracker) -[![Tests Passing](https://img.shields.io/badge/Tests-2,158%20Passing-success?logo=pytest&logoColor=white)](https://github.com/docdyhr/versiontracker/actions/workflows/ci.yml) +[![Tests Passing](https://img.shields.io/badge/Tests-1%2C885%20Passing-success?logo=pytest&logoColor=white)](https://github.com/docdyhr/versiontracker/actions/workflows/ci.yml) [![Security: Bandit](https://img.shields.io/badge/Bandit-Passing-success?logo=python&logoColor=white)](https://github.com/docdyhr/versiontracker/actions/workflows/security.yml) [![Security: pip-audit](https://img.shields.io/badge/pip--audit-No%20Vulnerabilities-success?logo=python&logoColor=white)](https://github.com/docdyhr/versiontracker/actions/workflows/security.yml) [![Security: Safety](https://img.shields.io/badge/Safety-No%20Vulnerabilities-success?logo=python&logoColor=white)](https://github.com/docdyhr/versiontracker/actions/workflows/security.yml) @@ -64,12 +71,12 @@ --- * Name: Versiontracker -* Version: 0.8.1 +* Version: 0.9.0 * Programming language: Python 3.12+ * Author: thomas * Purpose: CLI versiontracker and update tool for macOS -* Release date: 21. Feb 2022 (Updated: January 2026) -* Code Quality: **70%+ test coverage with 1,230+ passing tests**, +* Release date: 21. Feb 2022 (Updated: March 2026) +* Code Quality: **~61% overall test coverage with 1,885+ passing tests**, **all previously identified high & medium complexity issues resolved**, **AI/ML capabilities and advanced analytics platform** @@ -99,7 +106,7 @@ versiontracker --help Versiontracker is a command-line tool for macOS that helps you manage applications installed outside of the App Store. Recently undergone complete technical debt cleanup -with **70%+ test coverage** and **all high & medium-priority complexity issues resolved**. +with **1,885+ passing tests** and **all high & medium-priority complexity issues resolved**. It identifies applications that aren't managed through Apple's official channels and suggests which ones can be managed using Homebrew casks, making it easier to keep your applications up to date.