Skip to content

Commit

Permalink
Add tests_any job to ci_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PProfizi committed Sep 21, 2023
1 parent e934fd8 commit 790b5ba
Showing 1 changed file with 11 additions and 28 deletions.
39 changes: 11 additions & 28 deletions .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,34 +54,6 @@ jobs:
- name: "Run pre-commit"
run: pre-commit run --all-files --show-diff-on-failure

build_any:
name: "Build wheel any"
runs-on: ubuntu-latest
env:
platform: any
steps:
- uses: actions/checkout@v3

- name: "Install requirements"
run: pip install -r requirements/requirements_build.txt

- name: "Build the wheel"
shell: bash
id: wheel
run: |
python .ci/build_wheel.py -p any
cd dist
export name=`ls ansys_dpf_core*.whl`
echo ${name}
echo "wheel_name=${name[0]}" >> $GITHUB_OUTPUT
cd ..
- name: "Upload wheel any as artifact"
uses: actions/upload-artifact@v3
with:
name: ${{ steps.wheel.outputs.wheel_name }}
path: dist/${{ steps.wheel.outputs.wheel_name }}

build_linux1:
name: "Build linux1 wheel"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -118,6 +90,17 @@ jobs:
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
secrets: inherit

tests_any:
uses: ./.github/workflows/tests.yml
with:
ANSYS_VERSION: "241"
python_versions: '["3.8", "3.9", "3.10"]'
wheel: true
wheelhouse: false
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
test_any: true
secrets: inherit

docs:
uses: ./.github/workflows/docs.yml
with:
Expand Down

0 comments on commit 790b5ba

Please sign in to comment.