Skip to content

chore(deps): update rust crate serde to 1.0.215 #275

chore(deps): update rust crate serde to 1.0.215

chore(deps): update rust crate serde to 1.0.215 #275

Workflow file for this run

name: Coverage
permissions: "write-all"
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
tarpaulin:
timeout-minutes: 20
runs-on: ubuntu-22.04
services:
postgres:
image: postgres:17
env:
POSTGRES_USER: testuser
POSTGRES_PASSWORD: testpassword
POSTGRES_DB: testdb
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: Install cargo-tarpaulin
run: cargo install cargo-tarpaulin
- name: Run cargo-tarpaulin
run: cargo tarpaulin --verbose --out Xml --skip-clean --workspace
env:
DATABASE_URL: postgres://testuser:testpassword@localhost:5432/testdb
- name: Upload to Codecov
uses: codecov/codecov-action@v4
with:
file: ./cobertura.xml
fail_ci_if_error: true
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}