view .github/workflows/test.yml @ 71:1f11a9e15a6d

github actions: test with no features
author Lewin Bormann <lbo@spheniscida.de>
date Sat, 02 Apr 2022 13:45:12 -0700
parents 93cb8dda383e
children 08db02ef7028
line wrap: on
line source

on: [push, pull_request]

name: CI

jobs:
  build_and_test:
    name: Rust project
    runs-on: ubuntu-latest
    strategy:
      matrix:
        features: ["full", ""]
    steps:
      - uses: actions/checkout@v2
      - uses: actions-rs/toolchain@v1
        with:
          toolchain: stable
      - uses: actions-rs/cargo@v1
        with:
          command: test
          args: --features ${{ matrix.features }}