Skip to content

Commit 8825dec

Browse files
pre-commit-ci[bot]jorgepiloto
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ab95394 commit 8825dec

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/ci_cd.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,11 @@ jobs:
4848
uv pip install ansys-modelcenter-workflow
4949
5050
- name: "Run basic example"
51+
env:
52+
AWP_ROOT: 'C:\Program Files\ANSYS Inc'
5153
run: |
5254
.venv\Scripts\activate
55+
python -c "import sys; print(sys.executable)"
5356
python examples/BasicExample.py
5457
5558
# doc-style:

examples/BasicExample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
workflow_path = os.path.join(cwd, workflow_filename)
4040

4141
print("Initializing workflow engine...")
42-
with Engine(heartbeat_interval=60*1_000) as mc:
42+
with Engine(heartbeat_interval=60 * 1_000) as mc:
4343
print("Loading workflow: " + workflow_path)
4444
with mc.load_workflow(workflow_path) as workflow:
4545
print("Loaded: " + workflow_filename)

0 commit comments

Comments
 (0)