Skip to content

Commit b37870c

Browse files
committed
test exclude-file.txt, add action concurrency
1 parent b9314bd commit b37870c

File tree

9 files changed

+36
-25
lines changed

9 files changed

+36
-25
lines changed

.codespell/exclude-file.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1+
return USB0.INTSTS1.BIT.ATTCH ? true : false;

.codespellrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ ignore-words-list = synopsys, sie, tre, hsi, fro, dout, mot, te
55
check-filenames =
66
check-hidden =
77
skip = .cproject,./.git,./hw/mcu,./lib,./examples/*/*/_build,./examples/*/*/ses,./examples/*/*/ozone,./hw/mcu,./test/vendor,./tests_obsolete
8-
exclude-file = .codespell/exclude-file.txt
8+
exclude-file = ./.codespell/exclude-file.txt

.github/workflows/build_aarch64.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
types:
88
- created
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
# ---------------------------------------
1216
# Build AARCH64 family

.github/workflows/build_arm.yml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,6 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
jobs:
15-
# ---------------------------------------
16-
# Unit testing with Ceedling
17-
# ---------------------------------------
18-
unit-test:
19-
runs-on: ubuntu-latest
20-
steps:
21-
- name: Setup Ruby
22-
uses: ruby/setup-ruby@v1
23-
with:
24-
ruby-version: '2.7'
25-
26-
- name: Checkout TinyUSB
27-
uses: actions/checkout@v3
28-
29-
- name: Unit Tests
30-
run: |
31-
# Install Ceedling
32-
gem install ceedling
33-
cd test
34-
ceedling test:all
35-
3615
# ---------------------------------------
3716
# Build ARM family
3817
# ---------------------------------------

.github/workflows/build_esp.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
types:
88
- created
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
build-esp:
1216
runs-on: ubuntu-latest

.github/workflows/build_msp430.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
types:
88
- created
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
build-msp430:
1216
runs-on: ubuntu-latest

.github/workflows/build_renesas.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
types:
88
- created
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
build-rx:
1216
runs-on: ubuntu-latest

.github/workflows/build_riscv.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
types:
88
- created
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
build-riscv:
1216
runs-on: ubuntu-latest

.github/workflows/pre-commit.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,20 @@ jobs:
1717
with:
1818
python-version: '3.x'
1919

20+
- name: Setup Ruby
21+
uses: ruby/setup-ruby@v1
22+
with:
23+
ruby-version: '2.7'
24+
2025
- name: Checkout TinyUSB
2126
uses: actions/checkout@v3
2227

23-
- name: Check Code Spelling
24-
uses: codespell-project/actions-codespell@master
28+
- name: Run codespell
29+
uses: codespell-project/actions-codespell@master
30+
31+
- name: Run Unit Tests
32+
run: |
33+
# Install Ceedling
34+
gem install ceedling
35+
cd test
36+
ceedling test:all

0 commit comments

Comments
 (0)