1name: coverage 2on: [push] 3jobs: 4 coverage: 5 container: 6 image: xd009642/tarpaulin:develop-nightly 7 options: --security-opt seccomp=unconfined 8 runs-on: ubuntu-latest 9 steps: 10 - uses: actions/checkout@v2 11 12 # - name: Install tarpaulin 13 # run: cargo install cargo-tarpaulin 14 15 - name: Generate code coverage 16 run: cargo +nightly tarpaulin --timeout 120 --out Lcov --output-dir ./coverage 17 18 - name: Upload to coveralls.io 19 uses: coverallsapp/github-action@master 20 with: 21 github-token: ${{ secrets.GITHUB_TOKEN }} 22