Skip to content

Commit 767ecd2

Browse files
committed
feat: initial commit
1 parent 30b4da8 commit 767ecd2

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- '*no-ci*'
88
push:
99
branches:
10-
- master
10+
- main
1111
workflow_dispatch:
1212
inputs:
1313
ansys_version:
@@ -145,7 +145,7 @@ jobs:
145145
secrets: inherit
146146

147147
docs:
148-
if: github.event.action != 'closed' && (startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft)
148+
if: github.event.action != 'closed' && (startsWith(github.head_ref, 'main') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft)
149149
uses: ./.github/workflows/docs.yml
150150
needs: pick_server_suffix
151151
with:
@@ -173,7 +173,7 @@ jobs:
173173

174174
upload-development-docs:
175175
runs-on: ubuntu-latest
176-
if: ${{ github.event.action != 'closed' && (github.ref == 'refs/heads/master' && github.event_name == 'push') }}
176+
if: ${{ github.event.action != 'closed' && (github.ref == 'refs/heads/main' && github.event_name == 'push') }}
177177
needs: [docs]
178178
steps:
179179
- name: "Upload development documentation"
@@ -187,7 +187,7 @@ jobs:
187187
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}
188188

189189
examples:
190-
if: github.event.action != 'closed' && (startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft)
190+
if: github.event.action != 'closed' && (startsWith(github.head_ref, 'main') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft)
191191
uses: ./.github/workflows/examples.yml
192192
needs: pick_server_suffix
193193
with:
@@ -198,19 +198,19 @@ jobs:
198198

199199
pydpf-post:
200200
name: "PyDPF-Post"
201-
if: github.event.action != 'closed' && (startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft)
201+
if: github.event.action != 'closed' && (startsWith(github.head_ref, 'main') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft)
202202
uses: ./.github/workflows/pydpf-post.yml
203203
needs: pick_server_suffix
204204
with:
205205
ANSYS_VERSION: ${{ inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}
206-
post_branch: "master"
206+
post_branch: "main"
207207
standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
208208
test_docstrings: "true"
209209
secrets: inherit
210210

211211
tests-retro:
212212
name: "Test DPF ${{ matrix.dpf.version }} compatibility"
213-
if: github.event.action != 'closed' && (startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft)
213+
if: github.event.action != 'closed' && (startsWith(github.head_ref, 'main') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft)
214214
strategy:
215215
fail-fast: false
216216
matrix:

.github/workflows/update_operators.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
branch: maint/update_code_for_${{ inputs.ANSYS_VERSION || vars.ANSYS_VERSION_DEFAULT }}${{ github.event.inputs.standalone_branch_suffix || '' }}_on_${{ github.ref_name }}
137137
labels: server-sync
138138
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
139-
reviewers: ${{ github.ref_name == 'master' && 'ansys/dpf_integration_proxies' || '' }}
139+
reviewers: ${{ github.ref_name == 'main' && 'ansys/dpf_integration_proxies' || '' }}
140140

141141
- name: "Kill all servers"
142142
uses: ansys/pydpf-actions/[email protected]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[![docs](https://img.shields.io/website?down_color=lightgrey&down_message=invalid&label=documentation&up_color=brightgreen&up_message=up&url=https%3A%2F%2Fdpfdocs.pyansys.com%2F)](https://dpfdocs.pyansys.com)
88
[![MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
99
[![pypidl](https://img.shields.io/pypi/dm/ansys-dpf-core.svg?label=PyPI%20downloads)](https://pypi.org/project/ansys-dpf-core/)
10-
[![cov](https://codecov.io/gh/ansys/pydpf-core/branch/master/graph/badge.svg)](https://codecov.io/gh/ansys/pydpf-core)
10+
[![cov](https://codecov.io/gh/ansys/pydpf-core/branch/main/graph/badge.svg)](https://codecov.io/gh/ansys/pydpf-core)
1111
[![codacy](https://app.codacy.com/project/badge/Grade/61b6a519aea64715ad1726b3955fcf98)](https://www.codacy.com/gh/ansys/pydpf-core/dashboard?utm_source=github.com&utm_medium=referral&utm_content=ansys/pydpf-core&utm_campaign=Badge_Grade)
1212

1313
Ansys Data Processing Framework (DPF) provides numerical simulation
@@ -187,7 +187,7 @@ module. It closes when you exit Python or connect to a different server.
187187
## License and acknowledgments
188188

189189
PyDPF-Core is licensed under the MIT license. For more information, see the
190-
[LICENSE](https://github.com/ansys/pydpf-post/raw/master/LICENSE) file.
190+
[LICENSE](https://github.com/ansys/pydpf-post/raw/main/LICENSE) file.
191191

192192
PyDPF-Core makes no commercial claim over Ansys whatsoever. This library
193193
extends the functionality of Ansys DPF by adding a Python interface

0 commit comments

Comments
 (0)