diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index edad6080..c6c1bb65 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,22 +40,17 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - override: true - - uses: actions-rs/tarpaulin@v0.1 - with: - version: latest - args: --exclude-files=src/api/v2/de.rs - out-type: Xml + - name: Install cargo-llvm-cov + uses: taiki-e/install-action@cargo-llvm-cov + - name: Test and gather coverage + run: cargo llvm-cov --lcov --output-path lcov.info --ignore-filename-regex=src/api/v2/de.rs env: APCA_API_KEY_ID: ${{ secrets.APCA_API_KEY_ID }} APCA_API_SECRET_KEY: ${{ secrets.APCA_API_SECRET_KEY }} - name: Upload code coverage results uses: codecov/codecov-action@v3 with: - files: cobertura.xml + files: lcov.info clippy: name: Lint with clippy runs-on: ubuntu-latest