Add Actions job to run macrotest

This commit is contained in:
David Tolnay 2020-05-05 17:39:09 -07:00
parent 19a11237b8
commit e2ff603587
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -60,6 +60,18 @@ jobs:
- run: cd test_suite/no_std && cargo build
if: matrix.os != 'windows'
macro:
name: Macro test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@nightly
- name: Download cargo-expand
run: |
curl -sSo ~/.cargo/bin/cargo-expand https://github.com/dtolnay/cargo-expand/releases/download/0.6.0/cargo-expand
chmod +x ~/.cargo/bin/cargo-expand
- run: cd test_suite && cargo test --test expandtest
msrv:
name: Rust 1.13.0
runs-on: ubuntu-latest