Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

howto custom idaes pse

Ludovico Bianchi edited this page Oct 14, 2022 · 2 revisions

How to: use a custom version of idaes-pse in an examples-pse PR

  • By default, PRs on examples-pse use the current main branch of IDAES/idaes-pse in the CI environment
  • However, it's possible to change this, which is especially useful when developing a feature that requires "parallel changes" between idaes-pse and examples-pse that requires testing the examples before either branch can be safely merged into main

Changing the idaes-pse version used for the CI workflow

  • Edit the .github/workflows/main.yml file and change the env: field named IDAES_PSE_REQUIREMENT

    • For example, to pull idaes-pse from (the last commit on) PR 978:

    image

  • Save, commit, and push the changes to the examples-pse PR

  • ⚠️ IMPORTANT ⚠️ Don't forget to revert the change (i.e. ensure that .github/workflows/main.yml is changed back to using idaes-pse:main) before merging the examples-pse PR