44 push :
55 branches :
66 - main
7- - ' *_rel'
7+ - " *_rel"
88 schedule :
99 # run daily at 5:00 am UTC (12 am ET/9 pm PT)
10- - cron : ' 0 5 * * *'
10+ - cron : " 0 5 * * *"
1111 repository_dispatch :
1212 # to run this, send a POST API call at repos/IDAES/idaes-pse/dispatches with the specified event_type
1313 # e.g. `gh repos/IDAES/idaes-pse/dispatches -F event_type=ci_run_tests`
@@ -38,7 +38,7 @@ concurrency:
3838
3939env :
4040 # default Python version to use for checks that do not require multiple versions
41- DEFAULT_PYTHON_VERSION : ' 3.10'
41+ DEFAULT_PYTHON_VERSION : " 3.10"
4242 IDAES_CONDA_ENV_NAME_DEV : idaes-pse-dev
4343 PYTEST_ADDOPTS : " --color=yes"
4444
5454 runs-on : ubuntu-latest
5555 steps :
5656 - uses : actions/checkout@v4
57-
57+
5858 - uses : actions/setup-python@v5
5959 with :
6060 python-version : ${{ env.DEFAULT_PYTHON_VERSION }}
@@ -76,10 +76,10 @@ jobs:
7676 steps :
7777 - name : Checkout source
7878 uses : actions/checkout@v4
79-
79+
8080 - name : Run Spell Checker
8181 uses : crate-ci/typos@v1.24.5
82- with :
82+ with :
8383 config : ./.github/workflows/typos.toml
8484
8585 pytest :
9090 strategy :
9191 fail-fast : false
9292 matrix :
93- python-version : [' 3.9', ' 3.10', ' 3.11', ' 3.12', ' 3.13' ]
93+ python-version : [" 3.9", " 3.10", " 3.11", " 3.12", " 3.13" ]
9494 os :
9595 - linux
9696 - win64
@@ -99,15 +99,14 @@ jobs:
9999 runner-image : ubuntu-24.04
100100 - os : win64
101101 runner-image : windows-2022
102- - python-version : ' 3.11'
102+ - python-version : " 3.11"
103103 # only generate coverage report for a single python version in the matrix
104104 # to avoid overloading Codecov
105105 cov-report : true
106106
107-
108107 steps :
109108 - uses : actions/checkout@v5
110-
109+
111110 - uses : ./.github/actions/display-debug-info
112111 - name : Set up Conda environment
113112 uses : conda-incubator/setup-miniconda@v3
@@ -119,7 +118,7 @@ jobs:
119118 - name : Set up idaes
120119 uses : ./.github/actions/setup-idaes
121120 with :
122- install-target : -r requirements-dev.txt
121+ install-target : -r requirements-dev.txt
123122 - name : Add pytest CLI options for coverage
124123 if : matrix.cov-report
125124 run : |
@@ -134,7 +133,7 @@ jobs:
134133 name : coverage-report-${{ matrix.os }}
135134 path : coverage.xml
136135 if-no-files-found : error
137-
136+
138137 upload-coverage :
139138 name : Upload coverage report (Codecov)
140139 needs : [pytest]
@@ -146,7 +145,7 @@ jobs:
146145 steps :
147146 # the checkout step is needed to have access to codecov.yml
148147 - uses : actions/checkout@v4
149-
148+
150149 - uses : actions/download-artifact@v4
151150 with :
152151 name : coverage-report-${{ matrix.report-variant }}
@@ -170,13 +169,15 @@ jobs:
170169 needs : [code-formatting, spell-check]
171170 steps :
172171 - uses : actions/checkout@v4
173-
172+
174173 - name : Set up Conda environment
175174 uses : conda-incubator/setup-miniconda@v3
176175 with :
177176 activate-environment : ${{ env.IDAES_CONDA_ENV_NAME_DEV }}
178177 python-version : ${{ env.DEFAULT_PYTHON_VERSION }}
179178 miniforge-version : latest
179+ - name : Install pandoc
180+ run : conda install pandoc
180181 - name : Set up idaes
181182 uses : ./.github/actions/setup-idaes
182183 with :
@@ -206,7 +207,7 @@ jobs:
206207 # NOTE: using Conda instead of actions/setup-python in this job is not strictly necessary
207208 # as it doesn't need to run on Windows or use the setup-idaes local action,
208209 # but we do it for consistency with the other jobs
209-
210+
210211 - name : Set up Conda environment
211212 uses : conda-incubator/setup-miniconda@v3
212213 with :
@@ -216,7 +217,7 @@ jobs:
216217 - name : Set up idaes
217218 uses : ./.github/actions/setup-idaes
218219 with :
219- install-target : -r requirements-dev.txt
220+ install-target : -r requirements-dev.txt
220221 - name : Run pylint
221222 run : |
222223 echo "::group::Display pylint version"
@@ -240,7 +241,7 @@ jobs:
240241 runs-on : ubuntu-24.04
241242 steps :
242243 - uses : actions/checkout@v4
243-
244+
244245 - name : Set up Conda environment
245246 uses : conda-incubator/setup-miniconda@v3
246247 with :
@@ -250,7 +251,7 @@ jobs:
250251 - name : Set up idaes
251252 uses : ./.github/actions/setup-idaes
252253 with :
253- install-target : -r requirements-dev.txt
254+ install-target : -r requirements-dev.txt
254255 - name : Create empty pytest.ini file
255256 run : |
256257 echo "" > pytest.ini
0 commit comments