From cabf13234786a35caea8d68f6986607cf81d0c24 Mon Sep 17 00:00:00 2001 From: PProfizi <100710998+PProfizi@users.noreply.github.com> Date: Mon, 24 Oct 2022 11:11:39 +0200 Subject: [PATCH] Bump all pydpf-actions to v2.2 (#183) * 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 8a6844e1e8529131bc5ddcd4784c63437ecd22ea. * Revert "Try setting two levels of env variables" This reverts commit c6e137ddf6cc6020998133f36cf4541dfe50ec92. * Revert "Try setting the pydpf-actions branch directly" This reverts commit dd8766fc0d4dd56a9d82807a9d19dcd4e762440d. * Revert "Try setting the pydpf-actions branch as a variable without using a Github expression" This reverts commit 6b197a475da33eea93968dd3d68410853896c61d. * Revert "Try setting the pydpf-actions branch as a variable" This reverts commit f524f3b2ed8805d3d798d65cc9d84665b1eb784f. * Try setting as env variables * Test github context * Revert "Test github context" This reverts commit 81f55e2b8f4f3f23f7023e5709727a984bd65f2f. * Revert "Try setting as env variables" This reverts commit 84780d36ad0e769fc2a364d21ab14c2de2859fe8. * Bump pydpf-actions to v2.2 --- .github/workflows/ci.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6dfe622f8..24dfa4d7c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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}} @@ -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 @@ -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" @@ -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}} @@ -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 @@ -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" @@ -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}}