Skip to content

Commit

Permalink
add lora to ci and test script
Browse files Browse the repository at this point in the history
  • Loading branch information
bastibl committed Nov 23, 2023
1 parent 9dc2058 commit 35b1295
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ jobs:
- name: Run cargo fmt (examples/logging)
run: cargo fmt --all --manifest-path=examples/logging/Cargo.toml -- --check

- name: Run cargo fmt (examples/lora)
run: cargo fmt --all --manifest-path=examples/lora/Cargo.toml -- --check

- name: Run cargo fmt (examples/m17)
run: cargo fmt --all --manifest-path=examples/m17/Cargo.toml -- --check

Expand Down Expand Up @@ -300,6 +303,9 @@ jobs:
- name: Run cargo clippy (examples/logging)
run: cargo clippy --all-targets --manifest-path=examples/logging/Cargo.toml -- -D warnings

- name: Run cargo clippy (examples/lora)
run: cargo clippy --all-targets --manifest-path=examples/lora/Cargo.toml -- -D warnings

- name: Run cargo clippy (examples/m17)
run: cargo clippy --all-targets --manifest-path=examples/m17/Cargo.toml -- -D warnings

Expand Down
3 changes: 3 additions & 0 deletions check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ cd ${SCRIPTPATH}/examples/firdes && cargo fmt --check
cd ${SCRIPTPATH}/examples/fm-receiver && cargo fmt --check
cd ${SCRIPTPATH}/examples/keyfob && cargo fmt --check
cd ${SCRIPTPATH}/examples/logging && cargo fmt --check
cd ${SCRIPTPATH}/examples/lora && cargo fmt --check
cd ${SCRIPTPATH}/examples/m17 && cargo fmt --check
cd ${SCRIPTPATH}/examples/macros && cargo fmt --check
cd ${SCRIPTPATH}/examples/rattlegram && cargo fmt --check
Expand Down Expand Up @@ -98,6 +99,7 @@ cd ${SCRIPTPATH}/examples/firdes && cargo clippy --all-targets -- -D warnings
cd ${SCRIPTPATH}/examples/fm-receiver && cargo clippy --all-targets -- -D warnings
cd ${SCRIPTPATH}/examples/keyfob && cargo clippy --all-targets -- -D warnings
cd ${SCRIPTPATH}/examples/logging && cargo clippy --all-targets -- -D warnings
cd ${SCRIPTPATH}/examples/lora && cargo clippy --all-targets -- -D warnings
cd ${SCRIPTPATH}/examples/m17 && cargo clippy --all-targets -- -D warnings
cd ${SCRIPTPATH}/examples/macros && cargo clippy --all-targets -- -D warnings
cd ${SCRIPTPATH}/examples/rattlegram && cargo clippy --all-targets -- -D warnings
Expand Down Expand Up @@ -149,6 +151,7 @@ cd ${SCRIPTPATH}/examples/firdes && cargo test --all-targets
cd ${SCRIPTPATH}/examples/fm-receiver && cargo test --all-targets
cd ${SCRIPTPATH}/examples/keyfob && cargo test --all-targets
cd ${SCRIPTPATH}/examples/logging && cargo test --all-targets
cd ${SCRIPTPATH}/examples/lora && cargo test --all-targets
cd ${SCRIPTPATH}/examples/m17 && cargo test --all-targets
cd ${SCRIPTPATH}/examples/macros && cargo test --all-targets
cd ${SCRIPTPATH}/examples/rattlegram && cargo test --all-targets
Expand Down

0 comments on commit 35b1295

Please sign in to comment.