From 30a8d38597a0e9057097cc9b5f7d0e89cb164d4f Mon Sep 17 00:00:00 2001 From: STerliakov Date: Tue, 19 Dec 2023 17:20:21 +0400 Subject: [PATCH] Fix coverage --- .github/workflows/test.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f746984..e6fa39c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,8 +15,19 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v3 - uses: pre-commit/action@v3.0.0 - - name: Run tests with coverage + + - 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: + version: '0.27.2' + args: '-- --test-threads 1 --all-features' + - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 env: