Skip to content

Commit

Permalink
Update actions and modules (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
margalva authored Oct 15, 2024
1 parent 2489667 commit 3ee57f1
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 19 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
os: macos-latest
steps:
- name: Build wheelhouse and perform smoke test
uses: ansys/actions/build-wheelhouse@v4
uses: ansys/actions/build-wheelhouse@v8
with:
library-name: ${{ env.PACKAGE_NAME }}
library-namespace: ${{ env.PACKAGE_NAMESPACE }}
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:

- name: Upload coverage report
if: env.MAIN_PYTHON_VERSION == matrix.python-version
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage.xml
path: coverage.xml
Expand All @@ -109,7 +109,7 @@ jobs:

- name: Upload coverage to Codecov
if: env.MAIN_PYTHON_VERSION == matrix.python-version
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4

docs:
name: Build docs
Expand Down Expand Up @@ -160,11 +160,13 @@ jobs:
needs: [package]
steps:
- name: Deploy the latest documentation
uses: ansys/actions/doc-deploy-dev@v4
uses: ansys/actions/doc-deploy-dev@v8
if: ${{ !env.ACT }}
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}

upload_docs_release:
name: Upload release documentation
Expand All @@ -173,11 +175,13 @@ jobs:
needs: [release]
steps:
- name: Deploy the stable documentation
uses: ansys/actions/doc-deploy-stable@v4
uses: ansys/actions/doc-deploy-stable@v8
if: ${{ !env.ACT }}
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}
python-version: ${{ env.MAIN_PYTHON_VERSION }}

build-failure:
Expand All @@ -188,7 +192,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Microsoft Teams Notification
uses: jdcargile/ms-teams-notification@v1.3
uses: jdcargile/ms-teams-notification@v1.4
with:
github-token: ${{ github.token }} # this will use the runner's token.
ms-teams-webhook-uri: ${{ secrets.MS_TEAMS_WEBHOOK_URI }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/nightly-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Deploy development documentation
uses: ansys/actions/doc-deploy-dev@v4
uses: ansys/actions/doc-deploy-dev@v8
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
python-version: [ '3.9', '3.10', '3.11', '3.12']
steps:
- name: Build wheelhouse and perform smoke test
uses: ansys/actions/build-wheelhouse@v4
uses: ansys/actions/build-wheelhouse@v8
with:
library-name: ${{ env.PACKAGE_NAME }}
library-namespace: ${{ env.PACKAGE_NAMESPACE }}
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Microsoft Teams Notification
uses: jdcargile/ms-teams-notification@v1.3
uses: jdcargile/ms-teams-notification@v1.4
with:
github-token: ${{ github.token }}
ms-teams-webhook-uri: ${{ secrets.MS_TEAMS_WEBHOOK_URI }}
Expand Down
20 changes: 10 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,18 @@ ci = "https://github.com/ansys/pydynamicreporting/actions"
tests = [
"docker>=7.1.0",
"numpy==1.25.1",
"psutil==5.9.5",
"pytest==7.4.2",
"psutil==6.0.0",
"pytest==8.3.3",
"pytest-cov==4.1.0",
]
doc = [
"ansys-sphinx-theme==0.12.4",
"numpydoc==1.6.0",
"pillow==10.0.1",
"numpydoc==1.8.0",
"pillow==10.4.0",
"docker>=7.1.0",
"Sphinx==7.2.6",
"sphinx-copybutton==0.5.2",
"sphinx-gallery==0.14.0",
"sphinx-gallery==0.18.0",
]
dev = [
"build",
Expand All @@ -95,15 +95,15 @@ dev = [
"whatsonpypi",
"ansys-sphinx-theme==0.12.4",
"numpy==1.25.1",
"numpydoc==1.6.0",
"pillow==10.0.1",
"psutil==5.9.5",
"numpydoc==1.8.0",
"pillow==10.4.0",
"psutil==6.0.0",
"docker>=7.1.0",
"pytest==7.4.2",
"pytest==8.3.3",
"pytest-cov==4.1.0",
"Sphinx==7.2.6",
"sphinx-copybutton==0.5.2",
"sphinx-gallery==0.14.0",
"sphinx-gallery==0.18.0",
"pre-commit==3.3.3",
]

Expand Down

0 comments on commit 3ee57f1

Please sign in to comment.