Skip to content

Commit 8226f7f

Browse files
committed
ci: use "any" wheel for Docker tests
1 parent 8d518f6 commit 8226f7f

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ jobs:
125125
with:
126126
ANSYS_VERSION: ${{ inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}
127127
standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
128+
test_any: true
128129
secrets: inherit
129130

130131
docker_examples:

.github/workflows/test_docker.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ on:
1212
ANSYS_VERSION:
1313
required: false
1414
type: string
15+
test_any:
16+
description: "Test the any version of the wheel"
17+
required: false
18+
type: string
19+
default: 'false'
1520
# Can be called manually
1621
workflow_dispatch:
1722
inputs:
@@ -24,6 +29,11 @@ on:
2429
description: "ANSYS version to run."
2530
required: false
2631
type: string
32+
test_any:
33+
description: "Test the any version of the wheel"
34+
required: false
35+
type: string
36+
default: 'false'
2737

2838
env:
2939
PACKAGE_NAME: ansys-dpf-core
@@ -58,7 +68,9 @@ jobs:
5868
- name: "Build the wheel"
5969
shell: bash
6070
run: |
61-
if [ ${{ matrix.os }} == "ubuntu-latest" ]; then
71+
if [ ${{ inputs.test_any }} == 'true' ]; then
72+
export platform="any"
73+
elif [ ${{ matrix.os }} == "ubuntu-latest" ]; then
6274
export platform="manylinux_2_17"
6375
else
6476
export platform="win"

0 commit comments

Comments
 (0)