Skip to content

Commit 65cca68

Browse files
try smaller concurrent batches
1 parent 4236478 commit 65cca68

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/nightly-seed-grouping.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ jobs:
5050
# rust-model,
5151
# rust-sdk
5252
]
53+
include:
54+
- concurrency-count-override: 8
55+
sdk-name: python-sdk
56+
5357
steps:
5458
# Note: this step is meant for when running on ubuntu-latest
5559
- name: Remove Bloat
@@ -95,7 +99,14 @@ jobs:
9599
- name: Save Seed Test Log to File
96100
id: save-seed-test-log-to-file
97101
run: |
98-
pnpm seed:local test --generator ${{ matrix.sdk-name }} --parallel 16 --allow-unexpected-failures > ${{ matrix.sdk-name }}-seed-test-log.txt
102+
# Default to 16 concurrent fixtures if not overridden. In the case of python-sdk,
103+
# the virtual environments take up too much space so this needs to be limited
104+
pnpm seed:local test --generator ${{ matrix.sdk-name }} --parallel ${{ matrix.concurrency-count-override || 16 }} --allow-unexpected-failures > ${{ matrix.sdk-name }}-seed-test-log.txt
105+
106+
# CHRISM - consideration
107+
# - name: Cleanup Virtualenvs
108+
# run: |
109+
# find . -name "fern-*" -type d | head -10 | xargs rm -rf
99110

100111
- name: Upload Seed Test Log as Artifact
101112
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)