Merge pull request #17 from endoze/add-release-plz-config #57
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: Tests | |
on: | |
push: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_and_test: | |
name: street-cred Tests and Coverage | |
runs-on: ubuntu-latest | |
container: | |
image: xd009642/tarpaulin:0.27.0 | |
options: --security-opt seccomp=unconfined | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
toolchain: 1.70.0 | |
- name: Generate code coverage | |
run: | | |
cargo tarpaulin | |
- name: Coveralls GitHub Action | |
uses: coverallsapp/github-action@v1.1.2 | |
with: | |
github-token: ${{ github.token }} |