Skip to content

Add trusted publishing - #133

Open
mikemhenry wants to merge 4 commits into
OpenFreeEnergy:mainfrom
mikemhenry:feat/add-trusted-publishing
Open

mikemhenry wants to merge 4 commits into
OpenFreeEnergy:mainfrom
mikemhenry:feat/add-trusted-publishing

Conversation

@mikemhenry

Copy link
Copy Markdown
Contributor

Depending on when this gets merged in, the cache key may need to be updated.

@mikemhenry

Copy link
Copy Markdown
Contributor Author

pre-commit.ci autofix

@codecov

codecov Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.38%. Comparing base (e4bdf17) to head (b24a1de).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #133   +/-   ##
=======================================
  Coverage   98.38%   98.38%           
=======================================
  Files          10       10           
  Lines         496      496           
=======================================
  Hits          488      488           
  Misses          8        8           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mikemhenry

Copy link
Copy Markdown
Contributor Author

pre-commit.ci autofix

@mikemhenry

Copy link
Copy Markdown
Contributor Author

pre-commit.ci autofix

@atravitz atravitz self-assigned this Nov 21, 2026

@atravitz atravitz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

just a few questions

pull_request:
release:
# Stable GitHub Releases only.
types: [released] # need another thing to make pre-releases work

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is this a TODO?

uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
# Recommend using min python version supported
python-version: "3.12"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

openfe analysis has a min of 3.11 still

Comment on lines +65 to +68
BACKFILL_VERSION: ${{ inputs.version }}
run: |
if [[ "$GITHUB_EVENT_NAME" == "workflow_dispatch" ]]; then
export SETUPTOOLS_SCM_PRETEND_VERSION="$BACKFILL_VERSION"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
BACKFILL_VERSION: ${{ inputs.version }}
run: |
if [[ "$GITHUB_EVENT_NAME" == "workflow_dispatch" ]]; then
export SETUPTOOLS_SCM_PRETEND_VERSION="$BACKFILL_VERSION"
VERSION: ${{ inputs.version }}
run: |
if [[ "$GITHUB_EVENT_NAME" == "workflow_dispatch" ]]; then
export SETUPTOOLS_SCM_PRETEND_VERSION="$VERSION"

we're not inherently doing a backfill version, right?

- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.12"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
python-version: "3.12"
python-version: "3.11"

python-version: "3.12"

- name: Cache Pooch data
uses: actions/cache@v5

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
uses: actions/cache@v5
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0

but maybe we just want to use the read-only restore, since there's no point in creating a cache for a tag (or is there?)

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