alopecosa 0.1.3

Pure rust async Tarantool 1.6+ connector built on tokio
Documentation
on: [push]

name: test and publish

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: actions-rs/toolchain@v1
        with:
          toolchain: nightly
          override: true
      - uses: mosteo-actions/docker-run@v1
        with:
          image: tarantool/tarantool:2
          params: -d -p 3301:3301
          command: tarantool tests/tarantool/app.lua
      - uses: mosteo-actions/docker-run@v1
        with:
          image: tarantool/tarantool:2
          params: -d -p 3302:3301
          command: tarantool tests/tarantool/app_reconnect.lua
      - uses: actions-rs/cargo@v1
        with:
          command: test
          args: --all-features --lib --no-fail-fast
        env:
          CARGO_INCREMENTAL: '0'
          RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
          RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
      - id: coverage
        uses: actions-rs/grcov@v0.1
        with:
          config: tests/grcov.yaml
      - name: Coveralls upload
        uses: coverallsapp/github-action@master
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          path-to-lcov: ${{ steps.coverage.outputs.report }}