Skip to content

Commit c9dce3a

Browse files
committed
Revert "TEMP: only run docs"
This reverts commit b01e0ff.
1 parent b8c1cfb commit c9dce3a

File tree

1 file changed

+115
-115
lines changed

1 file changed

+115
-115
lines changed

.github/workflows/ci.yml

Lines changed: 115 additions & 115 deletions
Original file line numberDiff line numberDiff line change
@@ -49,54 +49,54 @@ jobs:
4949
env:
5050
GITHUB_CONTEXT: ${{ toJson(github) }}
5151

52-
# style:
53-
# name: "Style Check"
54-
# runs-on: ubuntu-latest
55-
# steps:
56-
# - uses: actions/checkout@v3
57-
#
58-
# - name: "Setup Python"
59-
# uses: actions/[email protected]
60-
# with:
61-
# python-version: ${{ env.MAIN_PYTHON_VERSION }}
62-
#
63-
# - name: "Install pre-commit"
64-
# run: pip install pre-commit
65-
#
66-
# - name: "Run pre-commit"
67-
# run: pre-commit run --all-files --show-diff-on-failure
68-
#
69-
# tests:
70-
# uses: ./.github/workflows/tests.yml
71-
# with:
72-
# ANSYS_VERSION: "232"
73-
# python_versions: '["3.8"]'
74-
# wheel: true
75-
# wheelhouse: false
76-
# standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
77-
# custom-requirements: ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
78-
# custom-wheels: ${{ github.event.inputs.custom-wheels || './dpf-standalone/v232/dist' }}
79-
# secrets: inherit
80-
#
81-
# docker_tests:
82-
# name: "Build and Test on Docker"
83-
# uses: ./.github/workflows/test_docker.yml
84-
# with:
85-
# standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
86-
# custom-requirements: ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
87-
# custom-wheels: ${{ github.event.inputs.custom-wheels-docker || './dpf-standalone/dist' }}
88-
# secrets: inherit
89-
#
90-
# docker_examples:
91-
# name: "Run examples on Docker"
92-
# uses: ./.github/workflows/examples_docker.yml
93-
# with:
94-
# ANSYS_VERSION: "232"
95-
# python_versions: '["3.8"]'
96-
# standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
97-
# custom-requirements: ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
98-
# custom-wheels: ${{ github.event.inputs.custom-wheels-docker || './dpf-standalone/dist' }}
99-
# secrets: inherit
52+
style:
53+
name: "Style Check"
54+
runs-on: ubuntu-latest
55+
steps:
56+
- uses: actions/checkout@v3
57+
58+
- name: "Setup Python"
59+
uses: actions/[email protected]
60+
with:
61+
python-version: ${{ env.MAIN_PYTHON_VERSION }}
62+
63+
- name: "Install pre-commit"
64+
run: pip install pre-commit
65+
66+
- name: "Run pre-commit"
67+
run: pre-commit run --all-files --show-diff-on-failure
68+
69+
tests:
70+
uses: ./.github/workflows/tests.yml
71+
with:
72+
ANSYS_VERSION: "232"
73+
python_versions: '["3.8"]'
74+
wheel: true
75+
wheelhouse: false
76+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
77+
custom-requirements: ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
78+
custom-wheels: ${{ github.event.inputs.custom-wheels || './dpf-standalone/v232/dist' }}
79+
secrets: inherit
80+
81+
docker_tests:
82+
name: "Build and Test on Docker"
83+
uses: ./.github/workflows/test_docker.yml
84+
with:
85+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
86+
custom-requirements: ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
87+
custom-wheels: ${{ github.event.inputs.custom-wheels-docker || './dpf-standalone/dist' }}
88+
secrets: inherit
89+
90+
docker_examples:
91+
name: "Run examples on Docker"
92+
uses: ./.github/workflows/examples_docker.yml
93+
with:
94+
ANSYS_VERSION: "232"
95+
python_versions: '["3.8"]'
96+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
97+
custom-requirements: ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
98+
custom-wheels: ${{ github.event.inputs.custom-wheels-docker || './dpf-standalone/dist' }}
99+
secrets: inherit
100100

101101
docs:
102102
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
@@ -109,70 +109,70 @@ jobs:
109109
event_name: ${{ github.event_name }}
110110
secrets: inherit
111111

112-
# upload-development-docs:
113-
# runs-on: ubuntu-latest
114-
# if: ${{ github.ref == 'refs/heads/master' }}
115-
# needs: [docs]
116-
# steps:
117-
# - name: "Upload development documentation"
118-
# uses: pyansys/actions/doc-deploy-dev@v4
119-
# with:
120-
# cname: ${{ env.DOCUMENTATION_CNAME }}
121-
# token: ${{ secrets.GITHUB_TOKEN }}
122-
# doc-artifact-name: HTML-doc-ansys-dpf-core.zip
123-
#
124-
# examples:
125-
# if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
126-
# uses: ./.github/workflows/examples.yml
127-
# with:
128-
# ANSYS_VERSION: "232"
129-
# python_versions: '["3.8"]'
130-
# standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
131-
# custom-requirements: ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
132-
# custom-wheels: ${{ github.event.inputs.custom-wheels || './dpf-standalone/v232/dist' }}
133-
# secrets: inherit
134-
#
135-
# retro_231:
136-
# name: "retro 231"
137-
# if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
138-
# uses: ./.github/workflows/tests.yml
139-
# with:
140-
# ANSYS_VERSION: "231"
141-
# python_versions: '["3.8"]'
142-
# DOCSTRING: false
143-
# custom-wheels: './.github'
144-
# secrets: inherit
145-
#
146-
# retro_222:
147-
# name: "retro 222"
148-
# if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
149-
# uses: ./.github/workflows/tests.yml
150-
# with:
151-
# ANSYS_VERSION: "222"
152-
# python_versions: '["3.8"]'
153-
# DOCSTRING: false
154-
# custom-wheels: './.github'
155-
# secrets: inherit
156-
#
157-
# retro_221:
158-
# name: "retro 221"
159-
# if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
160-
# uses: ./.github/workflows/tests.yml
161-
# with:
162-
# ANSYS_VERSION: "221"
163-
# python_versions: '["3.8"]'
164-
# DOCSTRING: false
165-
# custom-wheels: './.github'
166-
# secrets: inherit
167-
#
168-
# pydpf-post:
169-
# name: "PyDPF-Post"
170-
# if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
171-
# uses: ./.github/workflows/pydpf-post.yml
172-
# with:
173-
# ANSYS_VERSION: "232"
174-
# post_branch: "master"
175-
# standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
176-
# custom-requirements: ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
177-
# custom-wheels: ${{ github.event.inputs.custom-wheels || './dpf-standalone/v232/dist' }}
178-
# secrets: inherit
112+
upload-development-docs:
113+
runs-on: ubuntu-latest
114+
if: ${{ github.ref == 'refs/heads/master' }}
115+
needs: [docs]
116+
steps:
117+
- name: "Upload development documentation"
118+
uses: pyansys/actions/doc-deploy-dev@v4
119+
with:
120+
cname: ${{ env.DOCUMENTATION_CNAME }}
121+
token: ${{ secrets.GITHUB_TOKEN }}
122+
doc-artifact-name: HTML-doc-ansys-dpf-core.zip
123+
124+
examples:
125+
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
126+
uses: ./.github/workflows/examples.yml
127+
with:
128+
ANSYS_VERSION: "232"
129+
python_versions: '["3.8"]'
130+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
131+
custom-requirements: ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
132+
custom-wheels: ${{ github.event.inputs.custom-wheels || './dpf-standalone/v232/dist' }}
133+
secrets: inherit
134+
135+
retro_231:
136+
name: "retro 231"
137+
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
138+
uses: ./.github/workflows/tests.yml
139+
with:
140+
ANSYS_VERSION: "231"
141+
python_versions: '["3.8"]'
142+
DOCSTRING: false
143+
custom-wheels: './.github'
144+
secrets: inherit
145+
146+
retro_222:
147+
name: "retro 222"
148+
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
149+
uses: ./.github/workflows/tests.yml
150+
with:
151+
ANSYS_VERSION: "222"
152+
python_versions: '["3.8"]'
153+
DOCSTRING: false
154+
custom-wheels: './.github'
155+
secrets: inherit
156+
157+
retro_221:
158+
name: "retro 221"
159+
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
160+
uses: ./.github/workflows/tests.yml
161+
with:
162+
ANSYS_VERSION: "221"
163+
python_versions: '["3.8"]'
164+
DOCSTRING: false
165+
custom-wheels: './.github'
166+
secrets: inherit
167+
168+
pydpf-post:
169+
name: "PyDPF-Post"
170+
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
171+
uses: ./.github/workflows/pydpf-post.yml
172+
with:
173+
ANSYS_VERSION: "232"
174+
post_branch: "master"
175+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}
176+
custom-requirements: ${{ github.event.inputs.custom-requirements || 'requirements/requirements_dev.txt' }}
177+
custom-wheels: ${{ github.event.inputs.custom-wheels || './dpf-standalone/v232/dist' }}
178+
secrets: inherit

0 commit comments

Comments
 (0)