Skip to content

Commit 9df0d25

Browse files
committed
Switch all Docker tests and Docker example jobs to the "any" wheel
1 parent c4ffcd3 commit 9df0d25

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ jobs:
136136
ANSYS_VERSION: ${{ inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}
137137
python_versions: '["3.10"]'
138138
standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
139+
test_any: true
139140
secrets: inherit
140141

141142
docs:

.github/workflows/ci_release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ jobs:
168168
with:
169169
ANSYS_VERSION: ${{ inputs.ansys_version || vars.ANSYS_VERSION_LAST_RELEASED }}
170170
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
171+
test_any: true
171172
secrets: inherit
172173

173174
docker_examples:
@@ -177,6 +178,7 @@ jobs:
177178
ANSYS_VERSION: ${{ inputs.ansys_version || vars.ANSYS_VERSION_LAST_RELEASED }}
178179
python_versions: '["3.10", "3.11", "3.12", "3.13"]'
179180
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
181+
test_any: true
180182
secrets: inherit
181183

182184
draft_release:

.github/workflows/examples_docker.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ on:
1616
required: false
1717
type: string
1818
default: ''
19+
test_any:
20+
description: "Test the any version of the wheel"
21+
required: false
22+
type: string
23+
default: 'false'
1924
# Can be called manually
2025
workflow_dispatch:
2126
inputs:
@@ -33,6 +38,11 @@ on:
3338
required: false
3439
type: string
3540
default: ''
41+
test_any:
42+
description: "Test the any version of the wheel"
43+
required: false
44+
type: string
45+
default: 'false'
3646

3747
env:
3848
PACKAGE_NAME: ansys-dpf-core
@@ -76,7 +86,9 @@ jobs:
7686
- name: "Build the wheel"
7787
shell: bash
7888
run: |
79-
if [ ${{ matrix.os }} == "ubuntu-latest" ]; then
89+
if [ ${{ inputs.test_any }} == 'true' ]; then
90+
export platform="any"
91+
elif [ ${{ matrix.os }} == "ubuntu-latest" ]; then
8092
export platform="manylinux_2_17"
8193
else
8294
export platform="win"

0 commit comments

Comments
 (0)