Remove admin_token table from migration #32
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
on: push | |
name: Run Tests | |
permissions: | |
checks: write | |
contents: read | |
statuses: write | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
run_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
components: clippy | |
override: true | |
- uses: actions-rs/clippy-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --all-features | |
# - name: Build | |
# run: cargo build --verbose | |
# - name: Run tests | |
# run: cargo test --all --verbose --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' | |
- name: Run cargo-tarpaulin | |
uses: actions-rs/tarpaulin@v0.1 | |
with: | |
version: '0.15.0' | |
args: '--all --verbose --no-fail-fast -- --test-threads 2' | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 |