Skip to content

Commit 9e2ef48

Browse files
restauring pauls pipeline checks changes
1 parent 765f41d commit 9e2ef48

File tree

2 files changed

+179
-179
lines changed

2 files changed

+179
-179
lines changed

.github/workflows/ci.yml

Lines changed: 178 additions & 178 deletions
Original file line numberDiff line numberDiff line change
@@ -68,82 +68,82 @@ jobs:
6868
echo "suffix=$suffix" >> "$GITHUB_OUTPUT"
6969
fi
7070
echo "branch suffix is: >$suffix<"
71-
72-
style:
73-
name: "Style Check"
74-
runs-on: ubuntu-latest
75-
steps:
76-
- uses: ansys/actions/code-style@v7
77-
with:
78-
use-python-cache: false
79-
80-
build_linux1:
81-
name: "Build linux1 wheel"
82-
runs-on: ubuntu-latest
83-
steps:
84-
- uses: actions/checkout@v4
85-
86-
- name: "Install requirements"
87-
run: pip install -r requirements/requirements_build.txt
88-
89-
- name: "Build the manylinux1 wheel"
90-
shell: bash
91-
id: wheel
92-
run: |
93-
python .ci/build_wheel.py -p manylinux1
94-
cd dist
95-
export name=`ls ansys_dpf_core*.whl`
96-
echo ${name}
97-
echo "wheel_name=${name[0]}" >> $GITHUB_OUTPUT
98-
cd ..
99-
100-
- name: "Upload wheel any as artifact"
101-
uses: actions/upload-artifact@v4
102-
with:
103-
name: ${{ steps.wheel.outputs.wheel_name }}
104-
path: dist/${{ steps.wheel.outputs.wheel_name }}
105-
106-
tests:
107-
uses: ./.github/workflows/tests.yml
108-
needs: pick_server_suffix
109-
with:
110-
ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}
111-
python_versions: '["3.9"]'
112-
wheel: true
113-
wheelhouse: false
114-
standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
115-
secrets: inherit
116-
117-
tests_any:
118-
uses: ./.github/workflows/tests.yml
119-
needs: pick_server_suffix
120-
with:
121-
ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}
122-
python_versions: '["3.9"]'
123-
wheel: true
124-
wheelhouse: false
125-
standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
126-
test_any: true
127-
secrets: inherit
128-
129-
docker_tests:
130-
name: "Build and Test on Docker"
131-
uses: ./.github/workflows/test_docker.yml
132-
needs: pick_server_suffix
133-
with:
134-
ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}
135-
standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
136-
secrets: inherit
137-
138-
docker_examples:
139-
name: "Run examples on Docker"
140-
uses: ./.github/workflows/examples_docker.yml
141-
needs: pick_server_suffix
142-
with:
143-
ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}
144-
python_versions: '["3.9"]'
145-
standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
146-
secrets: inherit
71+
#
72+
# style:
73+
# name: "Style Check"
74+
# runs-on: ubuntu-latest
75+
# steps:
76+
# - uses: ansys/actions/code-style@v7
77+
# with:
78+
# use-python-cache: false
79+
#
80+
# build_linux1:
81+
# name: "Build linux1 wheel"
82+
# runs-on: ubuntu-latest
83+
# steps:
84+
# - uses: actions/checkout@v4
85+
#
86+
# - name: "Install requirements"
87+
# run: pip install -r requirements/requirements_build.txt
88+
#
89+
# - name: "Build the manylinux1 wheel"
90+
# shell: bash
91+
# id: wheel
92+
# run: |
93+
# python .ci/build_wheel.py -p manylinux1
94+
# cd dist
95+
# export name=`ls ansys_dpf_core*.whl`
96+
# echo ${name}
97+
# echo "wheel_name=${name[0]}" >> $GITHUB_OUTPUT
98+
# cd ..
99+
#
100+
# - name: "Upload wheel any as artifact"
101+
# uses: actions/upload-artifact@v4
102+
# with:
103+
# name: ${{ steps.wheel.outputs.wheel_name }}
104+
# path: dist/${{ steps.wheel.outputs.wheel_name }}
105+
#
106+
# tests:
107+
# uses: ./.github/workflows/tests.yml
108+
# needs: pick_server_suffix
109+
# with:
110+
# ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}
111+
# python_versions: '["3.9"]'
112+
# wheel: true
113+
# wheelhouse: false
114+
# standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
115+
# secrets: inherit
116+
#
117+
# tests_any:
118+
# uses: ./.github/workflows/tests.yml
119+
# needs: pick_server_suffix
120+
# with:
121+
# ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}
122+
# python_versions: '["3.9"]'
123+
# wheel: true
124+
# wheelhouse: false
125+
# standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
126+
# test_any: true
127+
# secrets: inherit
128+
#
129+
# docker_tests:
130+
# name: "Build and Test on Docker"
131+
# uses: ./.github/workflows/test_docker.yml
132+
# needs: pick_server_suffix
133+
# with:
134+
# ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}
135+
# standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
136+
# secrets: inherit
137+
#
138+
# docker_examples:
139+
# name: "Run examples on Docker"
140+
# uses: ./.github/workflows/examples_docker.yml
141+
# needs: pick_server_suffix
142+
# with:
143+
# ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}
144+
# python_versions: '["3.9"]'
145+
# standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
146+
# secrets: inherit
147147

148148
docs:
149149
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
@@ -155,105 +155,105 @@ jobs:
155155
event_name: ${{ github.event_name }}
156156
secrets: inherit
157157

158-
upload-development-docs:
159-
runs-on: ubuntu-latest
160-
if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' }}
161-
needs: [docs]
162-
steps:
163-
- name: "Upload development documentation"
164-
uses: ansys/actions/doc-deploy-dev@v7
165-
with:
166-
cname: ${{ env.DOCUMENTATION_CNAME }}
167-
token: ${{ secrets.GITHUB_TOKEN }}
168-
doc-artifact-name: HTML-doc-ansys-dpf-core.zip
169-
decompress-artifact: true
170-
171-
doc-index-dev:
172-
name: "Deploy dev index docs"
173-
runs-on: ubuntu-latest
174-
needs: upload-development-docs
175-
steps:
176-
- name: "Deploy the latest documentation index"
177-
uses: ansys/actions/doc-deploy-index@v7
178-
with:
179-
cname: ${{ env.DOCUMENTATION_CNAME }}/version/dev
180-
index-name: pydpf-core-vdev
181-
host-url: ${{ vars.MEILISEARCH_HOST_URL }}
182-
api-key: ${{ env.MEILISEARCH_API_KEY }}
183-
doc-artifact-name: HTML-doc-ansys-dpf-core.zip
184-
decompress-artifact: true
185-
186-
examples:
187-
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
188-
uses: ./.github/workflows/examples.yml
189-
needs: pick_server_suffix
190-
with:
191-
ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}
192-
python_versions: '["3.9"]'
193-
standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
194-
secrets: inherit
195-
196-
retro_242:
197-
name: "retro 242"
198-
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
199-
uses: ./.github/workflows/tests.yml
200-
with:
201-
ANSYS_VERSION: "242"
202-
python_versions: '["3.9"]'
203-
DOCSTRING: false
204-
standalone_suffix: ''
205-
secrets: inherit
206-
207-
retro_241:
208-
name: "retro 241"
209-
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
210-
uses: ./.github/workflows/tests.yml
211-
with:
212-
ANSYS_VERSION: "241"
213-
python_versions: '["3.9"]'
214-
DOCSTRING: false
215-
standalone_suffix: '.sp01'
216-
secrets: inherit
217-
218-
retro_232:
219-
name: "retro 232"
220-
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
221-
uses: ./.github/workflows/tests.yml
222-
with:
223-
ANSYS_VERSION: "232"
224-
python_versions: '["3.9"]'
225-
DOCSTRING: false
226-
standalone_suffix: ''
227-
secrets: inherit
228-
229-
retro_231:
230-
name: "retro 231"
231-
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
232-
uses: ./.github/workflows/tests.yml
233-
with:
234-
ANSYS_VERSION: "231"
235-
python_versions: '["3.9"]'
236-
DOCSTRING: false
237-
secrets: inherit
238-
239-
retro_222:
240-
name: "retro 222"
241-
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
242-
uses: ./.github/workflows/tests.yml
243-
with:
244-
ANSYS_VERSION: "222"
245-
python_versions: '["3.9"]'
246-
DOCSTRING: false
247-
secrets: inherit
248-
249-
pydpf-post:
250-
name: "PyDPF-Post"
251-
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
252-
uses: ./.github/workflows/pydpf-post.yml
253-
needs: pick_server_suffix
254-
with:
255-
ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}
256-
post_branch: "master"
257-
standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
258-
test_docstrings: "true"
259-
secrets: inherit
158+
# upload-development-docs:
159+
# runs-on: ubuntu-latest
160+
# if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' }}
161+
# needs: [docs]
162+
# steps:
163+
# - name: "Upload development documentation"
164+
# uses: ansys/actions/doc-deploy-dev@v7
165+
# with:
166+
# cname: ${{ env.DOCUMENTATION_CNAME }}
167+
# token: ${{ secrets.GITHUB_TOKEN }}
168+
# doc-artifact-name: HTML-doc-ansys-dpf-core.zip
169+
# decompress-artifact: true
170+
#
171+
# doc-index-dev:
172+
# name: "Deploy dev index docs"
173+
# runs-on: ubuntu-latest
174+
# needs: upload-development-docs
175+
# steps:
176+
# - name: "Deploy the latest documentation index"
177+
# uses: ansys/actions/doc-deploy-index@v7
178+
# with:
179+
# cname: ${{ env.DOCUMENTATION_CNAME }}/version/dev
180+
# index-name: pydpf-core-vdev
181+
# host-url: ${{ vars.MEILISEARCH_HOST_URL }}
182+
# api-key: ${{ env.MEILISEARCH_API_KEY }}
183+
# doc-artifact-name: HTML-doc-ansys-dpf-core.zip
184+
# decompress-artifact: true
185+
#
186+
# examples:
187+
# if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
188+
# uses: ./.github/workflows/examples.yml
189+
# needs: pick_server_suffix
190+
# with:
191+
# ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}
192+
# python_versions: '["3.9"]'
193+
# standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
194+
# secrets: inherit
195+
#
196+
# retro_242:
197+
# name: "retro 242"
198+
# if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
199+
# uses: ./.github/workflows/tests.yml
200+
# with:
201+
# ANSYS_VERSION: "242"
202+
# python_versions: '["3.9"]'
203+
# DOCSTRING: false
204+
# standalone_suffix: ''
205+
# secrets: inherit
206+
#
207+
# retro_241:
208+
# name: "retro 241"
209+
# if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
210+
# uses: ./.github/workflows/tests.yml
211+
# with:
212+
# ANSYS_VERSION: "241"
213+
# python_versions: '["3.9"]'
214+
# DOCSTRING: false
215+
# standalone_suffix: '.sp01'
216+
# secrets: inherit
217+
#
218+
# retro_232:
219+
# name: "retro 232"
220+
# if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
221+
# uses: ./.github/workflows/tests.yml
222+
# with:
223+
# ANSYS_VERSION: "232"
224+
# python_versions: '["3.9"]'
225+
# DOCSTRING: false
226+
# standalone_suffix: ''
227+
# secrets: inherit
228+
#
229+
# retro_231:
230+
# name: "retro 231"
231+
# if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
232+
# uses: ./.github/workflows/tests.yml
233+
# with:
234+
# ANSYS_VERSION: "231"
235+
# python_versions: '["3.9"]'
236+
# DOCSTRING: false
237+
# secrets: inherit
238+
#
239+
# retro_222:
240+
# name: "retro 222"
241+
# if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
242+
# uses: ./.github/workflows/tests.yml
243+
# with:
244+
# ANSYS_VERSION: "222"
245+
# python_versions: '["3.9"]'
246+
# DOCSTRING: false
247+
# secrets: inherit
248+
#
249+
# pydpf-post:
250+
# name: "PyDPF-Post"
251+
# if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
252+
# uses: ./.github/workflows/pydpf-post.yml
253+
# needs: pick_server_suffix
254+
# with:
255+
# ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}
256+
# post_branch: "master"
257+
# standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
258+
# test_docstrings: "true"
259+
# secrets: inherit

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146
shell: cmd /D /E:ON /V:OFF /C "CALL "{0}""
147147
working-directory: .ci
148148
run: |
149-
build_doc.bat > ..\doc\log.txt && type ..\doc\log.txt 2>&1
149+
build_doc.bat
150150
timeout-minutes: 60
151151
env:
152152
MEILISEARCH_PUBLIC_API_KEY: ${{ secrets.MEILISEARCH_PUBLIC_API_KEY }}

0 commit comments

Comments
 (0)