Skip to content

Commit bb3f18e

Browse files
committed
Add an empty line between steps to unify the file
1 parent e91d2fe commit bb3f18e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/conda-package.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ env:
1717
jobs:
1818
build_linux:
1919
runs-on: ubuntu-latest
20+
2021
strategy:
2122
matrix:
2223
python: ["3.10", "3.11", "3.12", "3.13"]
24+
2325
steps:
2426
- name: Cancel Previous Runs
2527
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
@@ -145,7 +147,9 @@ jobs:
145147

146148
test_linux:
147149
needs: build_linux
150+
148151
runs-on: ubuntu-latest
152+
149153
strategy:
150154
matrix:
151155
include:
@@ -157,6 +161,7 @@ jobs:
157161
numpy: "2.3"
158162
- python: "3.13"
159163
numpy: "2.3"
164+
160165
env:
161166
CHANNELS: -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels
162167

@@ -165,10 +170,13 @@ jobs:
165170
uses: actions/download-artifact@v4
166171
with:
167172
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
173+
168174
- name: Add conda to system path
169175
run: echo $CONDA/bin >> $GITHUB_PATH
176+
170177
- name: Install conda-build
171178
run: conda install conda-build
179+
172180
- name: Create conda channel
173181
run: |
174182
mkdir -p $GITHUB_WORKSPACE/channel/linux-64
@@ -178,16 +186,19 @@ jobs:
178186
# Test channel
179187
conda search $PACKAGE_NAME -c $GITHUB_WORKSPACE/channel --override-channels --info --json > $GITHUB_WORKSPACE/ver.json
180188
cat ver.json
189+
181190
- name: Collect dependencies
182191
run: |
183192
. $CONDA/etc/profile.d/conda.sh
184193
CHANNELS="-c $GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}"
185194
export PACKAGE_VERSION=$(python -c "${VER_SCRIPT1} ${VER_SCRIPT2}")
186195
conda create -n ${{ env.TEST_ENV_NAME }} $PACKAGE_NAME=${PACKAGE_VERSION} python=${{ matrix.python }} numpy=${{ matrix.numpy }} $CHANNELS --only-deps --dry-run > lockfile
187196
cat lockfile
197+
188198
- name: Set pkgs_dirs
189199
run: |
190200
echo "pkgs_dirs: [~/.conda/pkgs]" >> ~/.condarc
201+
191202
- name: Cache conda packages
192203
uses: actions/cache@v4
193204
env:
@@ -208,6 +219,7 @@ jobs:
208219
conda create -n ${{ env.TEST_ENV_NAME }} $PACKAGE_NAME=${PACKAGE_VERSION} pytest python=${{ matrix.python }} numpy=${{ matrix.numpy }} $CHANNELS
209220
# Test installed packages
210221
conda list
222+
211223
- name: Run tests
212224
run: |
213225
. $CONDA/etc/profile.d/conda.sh
@@ -216,6 +228,7 @@ jobs:
216228
217229
test_windows:
218230
needs: build_windows
231+
219232
runs-on: windows-latest
220233

221234
strategy:
@@ -229,6 +242,7 @@ jobs:
229242
numpy: "2.3"
230243
- python: "3.13"
231244
numpy: "2.3"
245+
232246
env:
233247
CHANNELS: -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels
234248

0 commit comments

Comments
 (0)