File: coverage.yml

package info (click to toggle)
rust-glam 0.30.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,252 kB
  • sloc: sh: 34; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 570 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: coverage
on: [push]
jobs:
  coverage:
    container:
      image: xd009642/tarpaulin:develop-nightly
      options: --security-opt seccomp=unconfined
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Update nightly
        run: rustup update nightly

      - name: Generate code coverage
        run: cargo +nightly tarpaulin --timeout 120 --out lcov --output-dir ./coverage

      - name: Upload to coveralls.io
        uses: coverallsapp/github-action@master
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}