Skip to content

Commit

Permalink
Switch release pipeline to 242.pre0 (#594)
Browse files Browse the repository at this point in the history
* Switch ci_release.yml to 24.2.pre0

* ansys_lab.yml do not fail if no diff

* update codecov/codecov-action@v3 to codecov/codecov-action@v4
  • Loading branch information
PProfizi authored Feb 21, 2024
1 parent 146c4b5 commit d27f0f4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ansys_lab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ jobs:
- name: "Push changes"
shell: bash
run: |
git config --global user.name "rlagha"
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-post.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 @@ -118,7 +118,7 @@ jobs:
path: tests/junit/test-results.xml

- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4

retro:
name: "Retro-compatibility"
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
if: always()

- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4

examples:
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
standalone_branch_suffix:
description: 'Suffix of the branch on standalone'
required: false
default: '.sp01'
default: '.pre0'

#┌───────────── minute (0 - 59)
#│ ┌───────────── hour (0 - 23)
Expand All @@ -28,7 +28,7 @@ env:
MODULE: 'post'
DOCUMENTATION_CNAME: 'post.docs.pyansys.com'
MAIN_PYTHON_VERSION: '3.10'
ANSYS_VERSION: '241'
ANSYS_VERSION: '242'

jobs:
debug:
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ANSYS_VERSION: ["241"]
ANSYS_VERSION: ["242"]
python-version: ["3.9", "3.10", "3.11"]
os: ["windows-latest", "ubuntu-latest"]

Expand All @@ -87,7 +87,7 @@ jobs:
install_extras: plotting
wheel: true
wheelhouse: true
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }}
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}

- name: "Prepare Testing Environment"
uses: ansys/pydpf-actions/[email protected]
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
path: tests/junit/test-results.xml

- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4

retro:
name: "Retro-compatibility"
Expand All @@ -132,7 +132,7 @@ jobs:
matrix:
python-version: ["3.10"]
os: ["windows-latest", "ubuntu-latest"]
ANSYS_VERSION: ["232", "231", "222"]
ANSYS_VERSION: ["241", "232", "231", "222"]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -183,22 +183,22 @@ jobs:
if: always()

- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4

examples:
uses: ./.github/workflows/examples.yml
with:
ANSYS_VERSION: '241'
ANSYS_VERSION: '242'
python_versions: '["3.10"]'
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }}
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
secrets: inherit

docs:
uses: ./.github/workflows/docs.yml
with:
ANSYS_VERSION: '241'
ANSYS_VERSION: '242'
python_version: "3.10"
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }}
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
event_name: ${{ github.event_name }}
secrets: inherit

Expand Down

0 comments on commit d27f0f4

Please sign in to comment.