From 3d3cafc6609056e998e39352e86d19d8a6b08041 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Tue, 1 Dec 2020 08:18:35 +0100 Subject: Use GitHub Actions instead of Travis for CI --- .github/workflows/coverage.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/coverage.yml (limited to '.github/workflows/coverage.yml') 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' -- cgit v1.2.3-54-g00ecf