slabvec/.github/workflows/test.yml

27 lines
602 B
YAML
Raw Normal View History

2021-01-22 12:49:33 +01:00
on: [pull_request]
name: test
jobs:
test:
name: ${{ matrix.toolchain }} (${{ matrix.profile.name }})
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: ${{ matrix.profile.flag }}
strategy:
fail-fast: false
matrix:
toolchain:
- nightly
profile:
- name: debug
- name: release
flag: --release