Skip to content

CHANGED: CI triggers, release and docs#88

Merged
josenimo merged 2 commits intoCosciaLab:mainfrom
josenimo:dev
Oct 20, 2025
Merged

CHANGED: CI triggers, release and docs#88
josenimo merged 2 commits intoCosciaLab:mainfrom
josenimo:dev

Conversation

@josenimo
Copy link
Member

No description provided.

@josenimo josenimo requested a review from Copilot October 20, 2025 12:46
@codecov
Copy link

codecov bot commented Oct 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@           Coverage Diff           @@
##             main      #88   +/-   ##
=======================================
  Coverage   91.40%   91.40%           
=======================================
  Files          81       81           
  Lines        3746     3746           
=======================================
  Hits         3424     3424           
  Misses        322      322           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Align CI triggers for tests, publishing, and docs with the new release flow and bump package version.

  • Bump package version to 0.7.4
  • Enable Codecov coverage upload in tests
  • Switch publish workflow to trigger on GitHub Releases; update docs workflow to run on main branch changes under docs/

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

File Description
pyproject.toml Bumps package version to 0.7.4 to match the new release.
.github/workflows/test.yml Enables Codecov upload step post-coverage.
.github/workflows/publish.yml Changes trigger from tag pushes to release published events; minor step name tweak.
.github/workflows/docs.yml Changes trigger to push on main constrained to docs/** path.

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines +47 to +48
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
Copy link

Copilot AI Oct 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Prefer passing the Codecov token via the action's input rather than as an environment variable to align with the action interface and reduce exposure to child steps. Example: add with: token: ${{ secrets.CODECOV_TOKEN }} and drop the env block.

Suggested change
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
token: ${{ secrets.CODECOV_TOKEN }}

Copilot uses AI. Check for mistakes.
branches:
- main
paths:
- 'docs/**'
Copy link

Copilot AI Oct 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] If your docs build depends on MkDocs or top-level config files, consider including them in the path filter so changes to configuration also trigger the docs workflow (e.g., mkdocs.yml, README.md).

Suggested change
- 'docs/**'
- 'docs/**'
- 'mkdocs.yml'
- 'README.md'

Copilot uses AI. Check for mistakes.
@josenimo josenimo merged commit 85d7b3b into CosciaLab:main Oct 20, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants