Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/update-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ jobs:

- name: Generate test plans
if: steps.parse.outputs.can_push == 'true'
env:
TEST_PLAN_NODE_COUNT: 10
run: bun run scripts/generate-test-plan.ts

- name: Find failed test files
Expand Down Expand Up @@ -255,7 +257,7 @@ jobs:
results_dir="/tmp/update-snapshots-test-plan-results"
rm -rf "$results_dir"
mkdir -p "$results_dir"
for node in 1 2 3 4; do
for node in {1..10}; do
if [ ! -f ".github/test-plans/node${node}-testplan.txt" ]; then
echo "ERROR: No test plan found for node ${node}"
full_exit_code=1
Expand All @@ -271,7 +273,7 @@ jobs:
done

if [ "$full_exit_code" -eq 0 ]; then
for node in 1 2 3 4; do
for node in {1..10}; do
(
mapfile -t test_files < ".github/test-plans/node${node}-testplan.txt"
echo "Running ${#test_files[@]} test files for node ${node}"
Expand Down Expand Up @@ -303,7 +305,7 @@ jobs:

wait

for node in 1 2 3 4; do
for node in {1..10}; do
if [ ! -f "$results_dir/node${node}.exit" ]; then
echo "ERROR: No exit code was recorded for node ${node}"
full_exit_code=1
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
"kicad-to-circuit-json": "^0.0.117",
"kicadts": "^0.0.53",
"live-server": "^1.2.2",
"looks-same": "^9.0.1",
"minicssgrid": "^0.0.9",
"pkg-pr-new": "^0.0.37",
"poppygl": "^0.0.26",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading