Feature/remove typestate pattern from model builder #76
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: coverage | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main, dmz ] | |
env: | |
RUST_BACKTRACE: 1 | |
jobs: | |
test: | |
name: coverage | |
runs-on: ubuntu-latest | |
container: | |
image: xd009642/tarpaulin:develop-nightly | |
options: --security-opt seccomp=unconfined | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Generate code coverage | |
run: | | |
cargo +nightly tarpaulin --force-clean --verbose --all-features --engine llvm --timeout 120 --out Lcov | |
- name: upload to Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: './lcov.info' | |
# - name: Upload to codecov.io | |
# uses: codecov/codecov-action@v2 | |
# with: | |
# token: ${{secrets.CODECOV_TOKEN}} # not required for public repos | |
# fail_ci_if_error: true |