Skip to content

Commit

Permalink
ci(codecov): fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KSXGitHub committed Nov 17, 2023
1 parent e19320a commit 5ee479f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,35 @@ jobs:
run_install: false
standalone: true

- name: Cache pnpm
uses: actions/cache@v3
with:
key: ci-pnpm-${{ matrix.os }}
path: |
${{ env.PNPM_HOME }}/store/v3
${{ env.HOME }}/.local/share/pnpm/store/v3
timeout-minutes: 1
continue-on-error: true

- name: Install just
uses: taiki-e/install-action@just

- name: Install dependencies
run: just install

- name: Run
run: |
just registry-mock launch
# removing env vars is a temporary workaround for unit tests in pacquet relying on external environment
# this should be removed in the future
unset PNPM_HOME
unset XDG_DATA_HOME
cargo codecov --lcov --output-path lcov.info
just registry-mock end
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 5ee479f

Please sign in to comment.