diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2020-12-01 08:18:35 +0100 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2020-12-01 08:18:35 +0100 |
commit | 3d3cafc6609056e998e39352e86d19d8a6b08041 (patch) | |
tree | 3b14857aaff978538f636a397833993ee6d6df76 /.github/workflows/coverage.yml | |
parent | 2a0cd296790cd8c4b8e58c1dd8a24301a1a8e3f2 (diff) | |
download | ads1x1x-async-3d3cafc6609056e998e39352e86d19d8a6b08041.tar.gz ads1x1x-async-3d3cafc6609056e998e39352e86d19d8a6b08041.tar.xz ads1x1x-async-3d3cafc6609056e998e39352e86d19d8a6b08041.zip |
Use GitHub Actions instead of Travis for CI
Diffstat (limited to '.github/workflows/coverage.yml')
-rw-r--r-- | .github/workflows/coverage.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml new file mode 100644 index 0000000..6e47780 --- /dev/null +++ b/.github/workflows/coverage.yml @@ -0,0 +1,28 @@ +on: [push] + +name: Coverage + +jobs: + check: + name: Coverage + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Install stable toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + + - name: Run cargo-tarpaulin + uses: actions-rs/tarpaulin@v0.1 + with: + args: '--out Lcov -- --test-threads 1' + + - name: upload to Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: './lcov.info' |