Skip to content

Update workflow to build pysam - #221

Merged
sjanzou merged 139 commits into
mainfrom
191-full-pysam-build-in-github-ci
Jul 21, 2026
Merged

Update workflow to build pysam#221
sjanzou merged 139 commits into
mainfrom
191-full-pysam-build-in-github-ci

Conversation

@sjanzou

@sjanzou sjanzou commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

Note

  1. the workflow is for the Windows runner only - separate pull requests for Linux and MacOS coming
  2. the tests for the cec module and inverter only pass with python 3.11 and higher

@sjanzou sjanzou self-assigned this Jul 17, 2026
@sjanzou
sjanzou requested a review from brtietz July 17, 2026 09:06
@sjanzou sjanzou linked an issue Jul 17, 2026 that may be closed by this pull request
@sjanzou
sjanzou requested a review from cpaulgilman July 17, 2026 09:06

@brtietz brtietz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This looks great! A few minor questions/comments on branch names, but this should be good to go soon.

Comment thread .github/workflows/ci.yml Outdated

env:
BUILD_TYPE: Release
DEFAULT_BRANCH: develop

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Changing this to patch now will save a pull request later. (I think technically it should be main, but we haven't been in the habit of making main line up since it typically only builds once)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@brtietz, note that the default branch is used as a fallback for lk, wex, ssc, and SAM in the "Determine branches for other repos" step. Another argument for aligning pysam with out other branch structures. Changed to "patch" in latest commit.

Comment thread .github/workflows/test_pkg.yml Outdated
#on: [ push ]
on:
push:
branches: [ main, dev ]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Does this need to be updated to our new branch structure? (main, develop, patch)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@brtietz, test_pkg.yml was the old workflow that only tested the latest PyPi release and has been removed in the latest commit.

@sjanzou
sjanzou requested a review from brtietz July 20, 2026 10:02
@sjanzou
sjanzou merged commit 8d63b07 into main Jul 21, 2026
6 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.

Full PySAM Build in Github CI

2 participants