From bbc6fb82bf4df5aca9d504c0e32b40e41cc34454 Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Fri, 24 Jul 2020 17:36:59 -0400 Subject: [PATCH] Increase timeout on coverage job to 10mins, reorg config --- .github/workflows/coverage.yml | 29 ----------------------------- .github/workflows/pr.yml | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 29 deletions(-) delete mode 100644 .github/workflows/coverage.yml diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml deleted file mode 100644 index 422ad5a2..00000000 --- a/.github/workflows/coverage.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: CI - -on: - pull_request: - paths: - - '**.rs' - push: - branches: - - main - paths: - - '**.rs' - -jobs: - - coverage: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - override: true - - name: Run cargo-tarpaulin - uses: actions-rs/tarpaulin@v0.1 - with: - version: 'latest' - timeout: 300 - - name: Upload coverage report to Codecov - uses: codecov/codecov-action@v1.0.12 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 8621ce26..6b706558 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -65,3 +65,19 @@ jobs: with: command: fmt args: --all -- --check + + coverage: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + - name: Run cargo-tarpaulin + uses: actions-rs/tarpaulin@v0.1 + with: + version: 'latest' + timeout: 600 + - name: Upload coverage report to Codecov + uses: codecov/codecov-action@v1.0.12