Skip to content

Commit 887007f

Browse files
committed
Merge branch 'master' into ci/tests_refactor
2 parents f54d901 + a3c3262 commit 887007f

File tree

4 files changed

+37
-3
lines changed

4 files changed

+37
-3
lines changed

.github/workflows/boards.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Boards Test
33
# The workflow will run on schedule and labeled pull requests
44
on:
55
pull_request:
6+
paths:
7+
- 'boards.txt'
8+
- 'libraries/ESP32/examples/CI/CIBoardsTest/CIBoardsTest.ino'
9+
- '.github/workflows/boards.yml'
610

711
env:
812
# It's convenient to set variables for values used multiple times in the workflow
@@ -24,7 +28,7 @@ jobs:
2428
uses: dcarbone/[email protected]
2529

2630
- name: Get board name
27-
run:
31+
run:
2832
bash .github/scripts/find_new_boards.sh ${{ github.repository }} ${{github.event.number}}
2933

3034
test-boards:

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Unit Test Results
22

33
on:
44
workflow_run:
5-
workflows: [Run tests]
5+
workflows: [Tests]
66
branches-ignore: [master]
77

88
types:

.github/workflows/push.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@ on:
66
branches:
77
- master
88
- release/*
9+
paths:
10+
- 'cores/**'
11+
- 'libraries/**'
12+
- 'package/**'
13+
- 'tools/**.py'
14+
- 'platform.txt'
15+
- 'programmers.txt'
16+
- '.github/workflows/push.yml'
17+
- '.github/scripts/**'
18+
- '!.github/scripts/find_*'
19+
- '!.github/scripts/on-release.sh'
20+
- '!.github/scripts/tests_*'
21+
- '!.github/scripts/upload_*'
922
pull_request:
1023

1124
concurrency:

.github/workflows/tests.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@ on:
44
workflow_dispatch:
55
pull_request_target:
66
types: [opened, reopened, closed, synchronize, labeled, unlabeled]
7+
paths:
8+
- 'tests/**'
9+
- 'cores/**'
10+
- 'libraries/**'
11+
- 'package/**'
12+
- '.github/workflows/tests.yml'
13+
- '.github/workflows/build_tests.yml'
14+
- '.github/workflows/hw.yml'
15+
- '.github/workflows/wokwi.yml'
16+
- '.github/workflows/qemu.yml'
17+
- '.github/scripts/install-*.sh'
18+
- '.github/scripts/tests_*.sh'
19+
- '.github/scripts/sketch_utils.sh'
720
schedule:
821
- cron: '0 3 * * *'
922

@@ -66,7 +79,10 @@ jobs:
6679
name: Run tests on hardware
6780
uses: ./.github/workflows/hw.yml
6881
needs: [gen-matrix, call-build-tests]
69-
if: ${{ github.event_name != 'pull_request_target' || contains(github.event.pull_request.labels.*.name, 'hil_test') }}
82+
if: |
83+
github.repository == 'espressif/arduino-esp32' &&
84+
(github.event_name != 'pull_request_target' ||
85+
contains(github.event.pull_request.labels.*.name, 'hil_test'))
7086
strategy:
7187
fail-fast: false
7288
matrix:
@@ -97,6 +113,7 @@ jobs:
97113
name: Run tests on QEMU
98114
uses: ./.github/workflows/qemu.yml
99115
needs: [gen-matrix, call-build-tests]
116+
if: false
100117
strategy:
101118
fail-fast: false
102119
matrix:

0 commit comments

Comments
 (0)