Skip to content

Commit 10e42fb

Browse files
committed
Add testsuite build step to ci
1 parent c55012e commit 10e42fb

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed
File renamed without changes.

.github/workflows/ci.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -92,16 +92,9 @@ jobs:
9292
command: check
9393
args: --features=stm32f303xc,stm32-usbd,rt,can,ld --lib --examples
9494

95-
check-tests:
96-
name: Check Tests
95+
build-testsuite:
96+
name: Build Testsuite
9797
runs-on: ubuntu-latest
98-
strategy:
99-
matrix:
100-
test:
101-
- rcc
102-
mcu:
103-
- stm32f303xc
104-
- stm32f303xd
10598
steps:
10699
- uses: actions/checkout@v2
107100
- uses: actions-rs/toolchain@v1
@@ -112,8 +105,8 @@ jobs:
112105
profile: minimal
113106
- uses: actions-rs/cargo@v1
114107
with:
115-
command: check
116-
args: --features=ld,defmt,${{ matrix.mcu }} --test ${{ matrix.test }}
108+
command: test
109+
args: -p testsuite --no-run
117110

118111
check-doc:
119112
name: Check Documentation Build

testsuite/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ defmt = "0.2.0"
3131
defmt-rtt = "0.2.0"
3232
defmt-test = "0.2.0"
3333
# TODO: Set stm32f303xc as default, but make it overwritable
34-
stm32f3xx-hal = { path = "..", features = ["stm32f303xc","rt","defmt-trace","can", "ld"]}
34+
stm32f3xx-hal = { path = "..", features = ["rt","defmt-trace","can", "ld"]}
3535
panic-probe = { version = "0.2.0", features = ["print-defmt"] }
3636

3737
[features]

0 commit comments

Comments
 (0)