Skip to content

Commit ec1cf4d

Browse files
committed
Clean workflow from unused stuff
1 parent ceddd90 commit ec1cf4d

File tree

1 file changed

+1
-32
lines changed

1 file changed

+1
-32
lines changed

.github/workflows/allboards.yml

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Boards Test - Remote trigger
22

3-
# The workflow will run on schedule and labeled pull requests
3+
# The workflow will run on remote dispath with event-type set to "test-boards"
44
on:
55
repository_dispatch:
66
types: [test-boards]
@@ -14,7 +14,6 @@ jobs:
1414
board-count: ${{ env.BOARD-COUNT }}
1515

1616
steps:
17-
# This step makes the contents of the repository available to the workflow
1817
- name: Checkout repository
1918
uses: actions/checkout@v3
2019
with:
@@ -31,7 +30,6 @@ jobs:
3130

3231
outputs:
3332
test-chunks: ${{ steps['set-test-chunks'].outputs['test-chunks'] }}
34-
test-chunk-ids: ${{ steps['set-test-chunks-ids'].outputs['test-chunks-ids'] }}
3533

3634
steps:
3735
- uses: actions/checkout@v3
@@ -48,32 +46,6 @@ jobs:
4846

4947
echo "EOF" >> $GITHUB_OUTPUT
5048

51-
- id: set-test-chunks-ids
52-
name: Set Chunk IDs
53-
run:
54-
echo "$(echo $CHUNKS | jq -M 'to_entries | map(.key)')"
55-
56-
echo "test-chunks-ids<<EOF" >> $GITHUB_OUTPUT
57-
58-
echo "$(echo $CHUNKS | jq -M 'to_entries | map(.key)')" >> $GITHUB_OUTPUT
59-
60-
echo "EOF" >> $GITHUB_OUTPUT
61-
env:
62-
CHUNKS: ${{ steps['set-test-chunks'].outputs['test-chunks'] }}
63-
64-
- name: Echo chunks
65-
run:
66-
echo $CHUNK
67-
env:
68-
CHUNK: ${{ steps['set-test-chunks'].outputs['test-chunks'] }}
69-
70-
- name: Echo chunks ids
71-
run:
72-
echo $CHUNKID
73-
env:
74-
CHUNKID: ${{ steps['set-test-chunks-ids'].outputs['test-chunks-ids'] }}
75-
76-
7749
test-boards:
7850
needs: setup-chunks
7951
runs-on: ubuntu-latest
@@ -89,7 +61,6 @@ jobs:
8961
chunk: ${{ fromJSON(needs.setup-chunks.outputs['test-chunks']) }}
9062

9163
steps:
92-
# This step makes the contents of the repository available to the workflow
9364
- name: Checkout repository
9465
uses: actions/checkout@v3
9566

@@ -113,5 +84,3 @@ jobs:
11384
- --warnings="all"
11485
sketch-paths:
11586
"- ./libraries/ESP32/examples/CI/CIBoardsTest/CIBoardsTest.ino"
116-
117-
#jq -nc '["espressif:esp32:esp32s3","espressif:esp32:esp32c3","espressif:esp32:esp32s2","espressif:esp32:esp32","espressif:esp32:esp32da"] | _nwise(15)'

0 commit comments

Comments
 (0)