Skip to content

Commit 07f8212

Browse files
maxcapodi78maxcapodi78
authored andcommitted
Merge branch 'main' into release/0.4
2 parents 68f19d1 + 2388faa commit 07f8212

File tree

88 files changed

+813
-258
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+813
-258
lines changed

.github/workflows/ci-build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Documentation Build
22

33
on: [pull_request, workflow_dispatch]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
8+
59
jobs:
610
docs_build:
711
runs-on: ubuntu-20.04

.github/workflows/ironpython.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,23 @@ on:
88
# Triggers the workflow on push or pull request events but only for the main branch
99
pull_request:
1010
branches: [ main ]
11-
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
1215

1316
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1417
jobs:
1518
# This workflow contains a single job called "build"
1619
build:
1720
# The type of runner that the job will run on
18-
runs-on: Windows
21+
runs-on: [Windows, pyaedt]
1922
# Steps represent a sequence of tasks that will be executed as part of the job
2023
steps:
2124
- uses: actions/checkout@v2
2225

2326
- name: 'Run Unit Tests in Ironpython'
24-
timeout-minutes: 40
27+
timeout-minutes: 45
2528
run: |
2629
$process = start-process 'cmd' -ArgumentList '/c .\_unittest_ironpython\run_unittests_batchmode.cmd' -PassThru
2730

.github/workflows/ironpython_linux.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,17 @@ on:
1515
description: 'Linux Ironpython Manual Trigger'
1616
schedule: # UTC at 0400
1717
- cron: '0 4 * * *'
18-
18+
19+
concurrency:
20+
group: ${{ github.workflow }}-${{ github.ref }}
21+
cancel-in-progress: true
1922

2023
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
2124
jobs:
2225
# This workflow contains a single job called "build"
2326
build:
2427
# The type of runner that the job will run on
25-
runs-on: Linux
28+
runs-on: [Linux, pyaedt]
2629
# Steps represent a sequence of tasks that will be executed as part of the job
2730
steps:
2831
- uses: actions/checkout@v2
@@ -31,7 +34,7 @@ jobs:
3134
run: |
3235
export DISPLAY="127.0.0.1:1"
3336
chmod 777 _unittest_ironpython/run_unittests_batchmode_linux.cmd
34-
timeout -k 2400s 2400s ./_unittest_ironpython/run_unittests_batchmode_linux.cmd
37+
timeout -k 3600s 3600s ./_unittest_ironpython/run_unittests_batchmode_linux.cmd
3538
if [ $? -eq 124 ] ; then
3639
echo "ERROR: Timeout while waiting for the file _unittest_ironpython/tests_succeeded.log."
3740
exit 1

.github/workflows/label.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
paths:
77
- '../labels.yml'
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
912

1013
jobs:
1114

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,16 @@ on:
2020
tags:
2121
description: 'Test scenario tags'
2222

23+
concurrency:
24+
group: ${{ github.workflow }}-${{ github.ref }}
25+
cancel-in-progress: true
26+
2327
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
2428
jobs:
2529
# This workflow contains a single job called "build"
2630
full_documentation:
2731
# The type of runner that the job will run on
28-
runs-on: Windows
32+
runs-on: [Windows, pyaedt]
2933
strategy:
3034
matrix:
3135
python-version: [3.8]

.github/workflows/nightly-docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
schedule: # UTC at 0400
66
- cron: '0 4 * * *'
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
812
jobs:
913
docs_build:
1014
runs-on: ubuntu-20.04

.github/workflows/style.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Style Check
33

44
on: [pull_request, workflow_dispatch]
55

6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.ref }}
8+
cancel-in-progress: true
9+
610
jobs:
711
stylecheck:
812
name: Style Check

.github/workflows/unit_tests.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# This is a basic workflow to help you get started with Actions
2-
31
name: CI
42

53
env:
@@ -16,21 +14,21 @@ env:
1614
on:
1715
# Triggers the workflow on push or pull request events but only for the main branch
1816
push:
19-
branches: [ main ]
2017
tags:
2118
- 'v*'
22-
- v*
2319
pull_request:
2420
branches: [ main ]
2521

26-
22+
concurrency:
23+
group: ${{ github.workflow }}-${{ github.ref }}
24+
cancel-in-progress: true
2725

2826
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
2927
jobs:
3028
# This workflow contains a single job called "build"
3129
build:
3230
# The type of runner that the job will run on
33-
runs-on: Windows
31+
runs-on: [Windows, pyaedt]
3432
strategy:
3533
matrix:
3634
python-version: [3.8]

.github/workflows/wheelhouse.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,16 @@ on:
1919
- 'v*'
2020
- v*
2121

22+
concurrency:
23+
group: ${{ github.workflow }}-${{ github.ref }}
24+
cancel-in-progress: true
2225

2326
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
2427
jobs:
2528
# This workflow contains a single job called "build"
2629
build:
2730
# The type of runner that the job will run on
28-
runs-on: Windows
31+
runs-on: [Windows, pyaedt]
2932
strategy:
3033
matrix:
3134
python-version: [ 3.7, 3.8, 3.9]

_unittest/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
with open(local_config_file) as f:
6969
config = json.load(f)
7070
else:
71-
default_version = "2022.1"
71+
default_version = "2022.2"
7272
if inside_desktop and "oDesktop" in dir(sys.modules["__main__"]):
7373
default_version = sys.modules["__main__"].oDesktop.GetVersion()[0:6]
7474
config = {

0 commit comments

Comments
 (0)