Skip to content

Commit d27f0f4

Browse files
authored
Switch release pipeline to 242.pre0 (#594)
* 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
1 parent 146c4b5 commit d27f0f4

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.github/workflows/ansys_lab.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ jobs:
6969
- name: "Push changes"
7070
shell: bash
7171
run: |
72-
git config --global user.name "rlagha"
72+
git config --global user.name "pyansys-ci-bot"
7373
git add .
7474
git status
75-
git commit -a -m ${{ inputs.version }}
75+
git commit -a -m ${{ inputs.version }} || exit 0
7676
git push https://${{ secrets.PYANSYS_CI_BOT_TOKEN }}@github.com/ansys/pydpf-post.git --follow-tags

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
path: tests/junit/test-results.xml
119119

120120
- name: "Upload coverage to Codecov"
121-
uses: codecov/codecov-action@v3
121+
uses: codecov/codecov-action@v4
122122

123123
retro:
124124
name: "Retro-compatibility"
@@ -180,7 +180,7 @@ jobs:
180180
if: always()
181181

182182
- name: "Upload coverage to Codecov"
183-
uses: codecov/codecov-action@v3
183+
uses: codecov/codecov-action@v4
184184

185185
examples:
186186
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft

.github/workflows/ci_release.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
standalone_branch_suffix:
1212
description: 'Suffix of the branch on standalone'
1313
required: false
14-
default: '.sp01'
14+
default: '.pre0'
1515

1616
#┌───────────── minute (0 - 59)
1717
#│ ┌───────────── hour (0 - 23)
@@ -28,7 +28,7 @@ env:
2828
MODULE: 'post'
2929
DOCUMENTATION_CNAME: 'post.docs.pyansys.com'
3030
MAIN_PYTHON_VERSION: '3.10'
31-
ANSYS_VERSION: '241'
31+
ANSYS_VERSION: '242'
3232

3333
jobs:
3434
debug:
@@ -62,7 +62,7 @@ jobs:
6262
strategy:
6363
fail-fast: false
6464
matrix:
65-
ANSYS_VERSION: ["241"]
65+
ANSYS_VERSION: ["242"]
6666
python-version: ["3.9", "3.10", "3.11"]
6767
os: ["windows-latest", "ubuntu-latest"]
6868

@@ -87,7 +87,7 @@ jobs:
8787
install_extras: plotting
8888
wheel: true
8989
wheelhouse: true
90-
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }}
90+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
9191

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

124124
- name: "Upload coverage to Codecov"
125-
uses: codecov/codecov-action@v3
125+
uses: codecov/codecov-action@v4
126126

127127
retro:
128128
name: "Retro-compatibility"
@@ -132,7 +132,7 @@ jobs:
132132
matrix:
133133
python-version: ["3.10"]
134134
os: ["windows-latest", "ubuntu-latest"]
135-
ANSYS_VERSION: ["232", "231", "222"]
135+
ANSYS_VERSION: ["241", "232", "231", "222"]
136136

137137
steps:
138138
- uses: actions/checkout@v4
@@ -183,22 +183,22 @@ jobs:
183183
if: always()
184184

185185
- name: "Upload coverage to Codecov"
186-
uses: codecov/codecov-action@v3
186+
uses: codecov/codecov-action@v4
187187

188188
examples:
189189
uses: ./.github/workflows/examples.yml
190190
with:
191-
ANSYS_VERSION: '241'
191+
ANSYS_VERSION: '242'
192192
python_versions: '["3.10"]'
193-
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }}
193+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
194194
secrets: inherit
195195

196196
docs:
197197
uses: ./.github/workflows/docs.yml
198198
with:
199-
ANSYS_VERSION: '241'
199+
ANSYS_VERSION: '242'
200200
python_version: "3.10"
201-
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.sp01' }}
201+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
202202
event_name: ${{ github.event_name }}
203203
secrets: inherit
204204

0 commit comments

Comments
 (0)