Skip to content

Commit

Permalink
Bump all pydpf-actions to v2.2 (#183)
Browse files Browse the repository at this point in the history
* Bump all pydpf-actions to prepare_v2.2

* Test docstrings - fix working-directory input

* Try setting the pydpf-actions branch as a variable

* Try setting the pydpf-actions branch as a variable without using a Github expression

* Try setting the pydpf-actions branch directly

* Try setting two levels of env variables

* Try setting two levels of env variables

* Revert "Try setting two levels of env variables"

This reverts commit 8a6844e.

* Revert "Try setting two levels of env variables"

This reverts commit c6e137d.

* Revert "Try setting the pydpf-actions branch directly"

This reverts commit dd8766f.

* Revert "Try setting the pydpf-actions branch as a variable without using a Github expression"

This reverts commit 6b197a4.

* Revert "Try setting the pydpf-actions branch as a variable"

This reverts commit f524f3b.

* Try setting as env variables

* Test github context

* Revert "Test github context"

This reverts commit 81f55e2.

* Revert "Try setting as env variables"

This reverts commit 84780d3.

* Bump pydpf-actions to v2.2
  • Loading branch information
PProfizi authored Oct 24, 2022
1 parent 582358c commit cabf132
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- uses: actions/checkout@v3

- name: "Build Package"
uses: pyansys/pydpf-actions/build_package@feat/use_build
uses: pyansys/pydpf-actions/build_package@v2.2
with:
python-version: ${{ matrix.python-version }}
ANSYS_VERSION: ${{env.ANSYS_VERSION}}
Expand All @@ -59,15 +59,16 @@ jobs:
wheelhouse: true

- name: "Prepare Testing Environment"
uses: pyansys/pydpf-actions/prepare_tests@feat/use_build
uses: pyansys/pydpf-actions/prepare_tests@v2.2
with:
DEBUG: true

- name: "Test Docstrings"
uses: pyansys/pydpf-actions/test_docstrings@feat/use_build
uses: pyansys/pydpf-actions/test_docstrings@v2.2
with:
MODULE: ${{env.MODULE}}
PACKAGE_NAME: ${{env.PACKAGE_NAME}}
working-directory: src

- name: "Test API"
shell: bash
Expand All @@ -76,7 +77,7 @@ jobs:
pytest $DEBUG --cov=ansys.dpf.${{env.MODULE}} --cov-report=xml --cov-report=html --cov-append --log-level=ERROR --junitxml=junit/test-results.xml --reruns 2 .
- name: "Kill all servers"
uses: pyansys/pydpf-actions/kill-dpf-servers@feat/use_build
uses: pyansys/pydpf-actions/kill-dpf-servers@v2.2
if: always()

- name: "Upload Test Results"
Expand All @@ -103,7 +104,7 @@ jobs:
- uses: actions/checkout@v3

- name: "Build Package"
uses: pyansys/pydpf-actions/build_package@feat/use_build
uses: pyansys/pydpf-actions/build_package@v2.2
with:
python-version: ${{ matrix.python-version }}
ANSYS_VERSION: ${{env.ANSYS_VERSION}}
Expand All @@ -121,7 +122,7 @@ jobs:
if: matrix.ANSYS_VERSION == '221'

- name: "Prepare Testing Environment"
uses: pyansys/pydpf-actions/prepare_tests@feat/use_build
uses: pyansys/pydpf-actions/prepare_tests@v2.2
with:
DEBUG: true

Expand All @@ -132,7 +133,7 @@ jobs:
pytest $DEBUG --cov=ansys.dpf.${{env.MODULE}} --cov-report=xml --cov-report=html --cov-append --log-level=ERROR --junitxml=junit/test-results.xml --reruns 2 .
- name: "Kill all servers"
uses: pyansys/pydpf-actions/kill-dpf-servers@feat/use_build
uses: pyansys/pydpf-actions/kill-dpf-servers@v2.2
if: always()

- name: "Upload Test Results"
Expand All @@ -153,7 +154,7 @@ jobs:
- uses: actions/checkout@v3

- name: "Build Documentation"
uses: pyansys/pydpf-actions/build_doc@feat/use_build
uses: pyansys/pydpf-actions/build_doc@v2.2
with:
python-version: "3.8"
ANSYS_VERSION: ${{env.ANSYS_VERSION}}
Expand Down

0 comments on commit cabf132

Please sign in to comment.