Skip to content

fix(cp): make sure that the cache is always disabled for martin-cp #1464

fix(cp): make sure that the cache is always disabled for martin-cp

fix(cp): make sure that the cache is always disabled for martin-cp #1464

Workflow file for this run

name: Code coverage
on:
push:
branches: [ main ]
paths-ignore:
- '**.md'
- 'demo/**'
- 'docs/**'
pull_request:
branches: [ main ]
paths-ignore:
- '**.md'
- 'demo/**'
- 'docs/**'
workflow_dispatch:
jobs:
coverage:
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
AWS_SKIP_CREDENTIALS: 1
AWS_REGION: eu-central-1
steps:
- name: Set up system dependencies
run: sudo apt-get update && sudo apt-get install -y gdal-bin sqlite3-tools postgresql-client
- name: Checkout sources
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2
- uses: taiki-e/install-action@cbbd2313f89ec137914d3e35d4669f76aca5c947 # v2
with: { tool: 'just,cargo-llvm-cov' }
- name: Generate code coverage
run: just coverage --codecov --output-path target/codecov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: target/codecov.info
fail_ci_if_error: true