Removed arc/mutex from db wrapper #107
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose | |
env: | |
CI_TEST_TOKEN: ${{secrets.CI_TEST_TOKEN}} | |
# code-coverage: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout repository | |
# uses: actions/checkout@v2 | |
# - name: Install stable toolchain | |
# uses: actions-rs/toolchain@v1 | |
# with: | |
# toolchain: stable | |
# override: true | |
# - name: Run tarpaulin | |
# uses: actions-rs/tarpaulin@v0.1 | |
# env: | |
# CI_TEST_TOKEN: ${{secrets.CI_TEST_TOKEN}} | |
# with: | |
# version: '0.13.0' | |
# args: '-- --test-threads 1' | |
# - name: Upload tarpaulin results to codecov.io | |
# uses: codecov/codecov-action@v1.0.2 | |
# with: | |
# token: ${{secrets.CODECOV_TOKEN}} | |
# - name: Archive code coverage results | |
# uses: actions/upload-artifact@v1 | |
# with: | |
# name: code-coverage-report | |
# path: cobertura.xml |