Skip to content

Conversation

@srichs
Copy link
Owner

@srichs srichs commented Feb 13, 2026

Motivation

  • Separate linting, type-checking, and testing to make failures easier to diagnose and reduce noisy runs.
  • Add workflow concurrency with cancellation and narrow workflow permissions to contents: read for safer run behavior.
  • Expand test coverage to multiple OS/Python axes so CI better reflects supported environments.

Description

  • Replaced the single tests job with three jobs: lint (runs ruff, black, isort), type-check (runs mypy), and a matrix test job (runs pytest), updating steps to use a common checkout/setup/install pattern in .github/workflows/ci.yml.
  • Added workflow-level concurrency to cancel-in-progress runs on the same ref and restricted permissions to contents: read in the workflow file.
  • Introduced a test matrix across os: [ubuntu-latest, macos-latest, windows-latest] and python-version: ["3.11", "3.12"] with fail-fast: false and standardized dependency installation via pip install -r requirements-dev.txt.
  • Kept existing test invocation and coverage enforcement as pytest --cov=veracrypt --cov-report=term-missing --cov-fail-under=80.

Testing

  • Ran the project test suite locally with pytest -q, which succeeded with 42 passed tests.

Codex Task

@srichs srichs merged commit 5882ba3 into main Feb 13, 2026
8 checks passed
@srichs srichs deleted the codex/update-ci-jobs-to-match-example branch February 13, 2026 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant