diff options
| author | huntc <[email protected]> | 2021-07-06 12:23:51 +1000 |
|---|---|---|
| committer | huntc <[email protected]> | 2021-07-06 12:29:08 +1000 |
| commit | e13aa4c2a04d04ab10fd77ce371a1f37b002de36 (patch) | |
| tree | cecefd7d8403fcce8e2978b600a6dcb836ed00af /.github/workflows | |
| parent | ed83b93b6dd34cf09d1f772ec32ebd036e8798a7 (diff) | |
Add tests to our CI
Also found some doctests that were failing
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/rust.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index fc836dfce..b2b7ee099 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml | |||
| @@ -122,6 +122,16 @@ jobs: | |||
| 122 | - name: Check fmt | 122 | - name: Check fmt |
| 123 | run: for i in embassy-*; do (cd $i; cargo fmt -- --check); done | 123 | run: for i in embassy-*; do (cd $i; cargo fmt -- --check); done |
| 124 | 124 | ||
| 125 | test: | ||
| 126 | runs-on: ubuntu-latest | ||
| 127 | steps: | ||
| 128 | - uses: actions/checkout@v2 | ||
| 129 | - uses: actions-rs/toolchain@v1 | ||
| 130 | with: | ||
| 131 | toolchain: stable | ||
| 132 | - name: Test | ||
| 133 | run: cd embassy && cargo test | ||
| 134 | |||
| 125 | metapac_gen: | 135 | metapac_gen: |
| 126 | runs-on: ubuntu-latest | 136 | runs-on: ubuntu-latest |
| 127 | steps: | 137 | steps: |
