Skip to content

Commit

Permalink
rust coverage job working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
mzieniukbw committed Jan 28, 2025
1 parent c515422 commit 153594d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,6 @@ jobs:
rust-coverage:
name: Rust Coverage
runs-on: ubuntu-24.04
defaults:
run:
working-directory: ./apps/desktop/desktop_native
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand All @@ -162,11 +159,14 @@ jobs:

- name: Cache cargo registry
uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2.7.5
with:
workspaces: "apps/desktop/desktop_native -> target"

- name: Install cargo-llvm-cov
run: cargo install cargo-llvm-cov --version 0.5.38

- name: Generate coverage
working-directory: ./apps/desktop/desktop_native
run: cargo llvm-cov --all-features --lcov --output-path lcov.info

- name: Upload to codecov.io
Expand Down

0 comments on commit 153594d

Please sign in to comment.