Skip to content

Commit ab8cfb3

Browse files
authored
Merge pull request hathach#1781 from hathach/update-unit-test
Update unit test
2 parents d9817eb + a29b3dd commit ab8cfb3

File tree

261 files changed

+5826
-7765
lines changed

Some content is hidden

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

261 files changed

+5826
-7765
lines changed

.codespellrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ exclude-file = .codespell/exclude-file.txt
77
check-filenames =
88
check-hidden =
99
count =
10-
skip = .cproject,./.git,./hw/mcu,./lib,./examples/*/*/_build,./examples/*/*/ses,./examples/*/*/ozone,./hw/mcu,./test/vendor,./tests_obsolete,./tools/uf2
10+
skip = .cproject,./.git,./hw/mcu,./lib,./examples/*/*/_build,./examples/*/*/ses,./examples/*/*/ozone,./hw/mcu,./test/unit-test/vendor,./tests_obsolete,./tools/uf2

.github/workflows/build_aarch64.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
name: Build AArch64
22

33
on:
4-
pull_request:
54
push:
6-
release:
7-
types:
8-
- created
5+
paths:
6+
- 'src'
7+
- 'examples'
8+
- 'lib'
9+
- 'hw'
10+
pull_request:
11+
branches: [ master ]
12+
paths:
13+
- 'src'
14+
- 'examples'
15+
- 'lib'
16+
- 'hw'
917

1018
concurrency:
1119
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

.github/workflows/build_arm.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
name: Build ARM
22

33
on:
4-
pull_request:
54
push:
6-
release:
7-
types:
8-
- created
5+
paths:
6+
- 'src'
7+
- 'examples'
8+
- 'lib'
9+
- 'hw'
10+
pull_request:
11+
branches: [ master ]
12+
paths:
13+
- 'src'
14+
- 'examples'
15+
- 'lib'
16+
- 'hw'
917

1018
concurrency:
1119
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

.github/workflows/build_esp.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
name: Build ESP
22

33
on:
4-
pull_request:
54
push:
6-
release:
7-
types:
8-
- created
5+
paths:
6+
- 'src'
7+
- 'examples'
8+
- 'lib'
9+
- 'hw'
10+
pull_request:
11+
branches: [ master ]
12+
paths:
13+
- 'src'
14+
- 'examples'
15+
- 'lib'
16+
- 'hw'
917

1018
concurrency:
1119
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

.github/workflows/build_msp430.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
name: Build MSP430
22

33
on:
4-
pull_request:
54
push:
6-
release:
7-
types:
8-
- created
5+
paths:
6+
- 'src'
7+
- 'examples'
8+
- 'lib'
9+
- 'hw'
10+
pull_request:
11+
branches: [ master ]
12+
paths:
13+
- 'src'
14+
- 'examples'
15+
- 'lib'
16+
- 'hw'
917

1018
concurrency:
1119
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

.github/workflows/build_renesas.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
name: Build Renesas
22

33
on:
4-
pull_request:
54
push:
6-
release:
7-
types:
8-
- created
5+
paths:
6+
- 'src'
7+
- 'examples'
8+
- 'lib'
9+
- 'hw'
10+
pull_request:
11+
branches: [ master ]
12+
paths:
13+
- 'src'
14+
- 'examples'
15+
- 'lib'
16+
- 'hw'
917

1018
concurrency:
1119
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

.github/workflows/build_riscv.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
name: Build RISC-V
22

33
on:
4-
pull_request:
54
push:
6-
release:
7-
types:
8-
- created
5+
paths:
6+
- 'src'
7+
- 'examples'
8+
- 'lib'
9+
- 'hw'
10+
pull_request:
11+
branches: [ master ]
12+
paths:
13+
- 'src'
14+
- 'examples'
15+
- 'lib'
16+
- 'hw'
917

1018
concurrency:
1119
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

.github/workflows/pre-commit.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: pre-commit
22

33
on:
4-
pull_request:
54
push:
5+
pull_request:
6+
branches: [ master ]
67

78
concurrency:
89
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@@ -20,7 +21,7 @@ jobs:
2021
- name: Setup Ruby
2122
uses: ruby/setup-ruby@v1
2223
with:
23-
ruby-version: '2.7'
24+
ruby-version: '3.0'
2425

2526
- name: Checkout TinyUSB
2627
uses: actions/checkout@v3
@@ -32,5 +33,5 @@ jobs:
3233
run: |
3334
# Install Ceedling
3435
gem install ceedling
35-
cd test
36+
cd test/unit-test
3637
ceedling test:all

.github/workflows/test_hardware.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
11
name: Hardware Test
2+
23
on:
3-
pull_request:
44
push:
5-
release:
6-
types:
7-
- created
5+
paths:
6+
- 'src'
7+
- 'examples'
8+
- 'lib'
9+
- 'hw'
10+
pull_request:
11+
branches: [ master ]
12+
paths:
13+
- 'src'
14+
- 'examples'
15+
- 'lib'
16+
- 'hw'
817

918
# Hardware in the loop (HIL)
1019
# Current self-hosted instance is running on an EPYC 7232 server hosted by HiFiPhile user
File renamed without changes.

0 commit comments

Comments
 (0)