Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ansys_lab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
name: "Deploy examples for Ansys Lab"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ env.DESTINATION_BRANCH_NAME }}

Expand Down Expand Up @@ -72,5 +72,5 @@ jobs:
git config --global user.name "pyansys-ci-bot"
git add .
git status
git commit -a -m ${{ inputs.version }}
git commit -a -m ${{ inputs.version }} || exit 0
git push https://${{ secrets.PYANSYS_CI_BOT_TOKEN }}@github.com/ansys/pydpf-core.git --follow-tags
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
name: "Style Check"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: "Setup Python"
uses: actions/[email protected]
Expand All @@ -81,7 +81,7 @@ jobs:
name: "Build linux1 wheel"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: "Install requirements"
run: pip install -r requirements/requirements_build.txt
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
name: "Style Check"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: "Setup Python"
uses: actions/[email protected]
Expand All @@ -61,7 +61,7 @@ jobs:
name: "Build linux1 wheel"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: "Install requirements"
run: pip install -r requirements/requirements_build.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
name: "Documentation"
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: "Set licensing if necessary"
if: inputs.ANSYS_VERSION > 231
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
os: ["windows-latest", "ubuntu-latest"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: "Set licensing if necessary"
if: inputs.ANSYS_VERSION > 231
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
os: ["ubuntu-latest"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: "Setup Python"
uses: actions/[email protected]
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pydpf-post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
python-version: ["3.9"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: "Set licensing if necessary"
if: inputs.ANSYS_VERSION > 231
Expand Down Expand Up @@ -153,13 +153,15 @@ jobs:
PACKAGE_NAME: ansys-dpf-post
working-directory: pydpf-post/src
if: inputs.test_docstrings == 'true'
timeout-minutes: 10

- name: "Test API"
shell: bash
working-directory: pydpf-post/tests
run: |
pytest $DEBUG --reruns 2 .
if: always()
timeout-minutes: 20

- name: "Kill all servers"
uses: ansys/pydpf-actions/[email protected]
10 changes: 5 additions & 5 deletions .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
needs: get_latest_tag
steps:
- name: "Download Release Assets"
uses: robinraju/release-downloader@v1.8
uses: robinraju/release-downloader@v1.9
with:
tag: ${{ github.event.inputs.release_tag || needs.get_latest_tag.outputs.version }}
fileName: "*.whl"
Expand Down Expand Up @@ -75,21 +75,21 @@ jobs:
with:
file: HTML-doc-ansys-dpf-core.zip
token: ${{ secrets.GITHUB_TOKEN }}
version: tags/${{ github.event.inputs.release_tag || needs.get_latest_tag.outputs.version }}
version: ${{ github.event.inputs.release_tag && format('tags/{0}', github.event.inputs.release_tag) || format('tags/{0}', needs.get_latest_tag.outputs.version) }}

- name: "List downloaded assets"
shell: bash
run: |
ls

- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: HTML-doc-ansys-dpf-core.zip
path: HTML-doc-ansys-dpf-core.zip

- name: "Deploy the stable documentation"
uses: ansys/actions/doc-deploy-stable@v4
uses: ansys/actions/doc-deploy-stable@v5
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
echo "VERSION_MEILI=$VERSION_MEILI" >> $GITHUB_ENV

- name: "Deploy the latest documentation index"
uses: ansys/actions/doc-deploy-index@v4
uses: ansys/actions/doc-deploy-index@v5
with:
cname: ${{ env.DOCUMENTATION_CNAME }}/version/${{ env.VERSION }}
index-name: pydpf-core-v${{ env.VERSION_MEILI }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
os: ["ubuntu-latest"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: "Setup Python"
uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
os: ["windows-latest", "ubuntu-latest"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: "Set licensing if necessary"
if: inputs.ANSYS_VERSION > 231
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_operators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: echo distinct ID ${{ github.event.inputs.distinct_id }}
run: echo ${{ github.event.inputs.distinct_id }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Python
uses: actions/[email protected]
Expand Down