view .github/workflows/test.yml @ 582:ab45bdbdedac

Add 'async' feature to CI configuration
author Lewin Bormann <lbo@spheniscida.de>
date Wed, 28 Sep 2022 09:06:42 +0200
parents 370e82ed1c29
children c0454e18fca0
line wrap: on
line source

on: [push, pull_request]

name: Actions CI

jobs:
  build_and_test:
    name: leveldb-rs
    strategy:
      fail-fast: false
      matrix:
        features: ["async"]
        platform: [ubuntu-latest, windows-latest, macos-latest]
    runs-on: ${{ matrix.platform }}
    steps:
      - uses: actions/checkout@v2
      - uses: actions-rs/toolchain@v1
        with:
          toolchain: stable
          profile: minimal
          default: true
      - uses: actions-rs/cargo@v1
        with:
          command: test
          args: --no-default-features --features=${{ matrix.features }}