Skip to content

Commit

Permalink
workflow: Fix code coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
ceyhunsen committed Sep 11, 2024
1 parent f995e04 commit 35c8f99
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,34 @@ name: Code Coverage Check

on: [push]

env:
CARGO_TERM_COLOR: always
CARGO_TERM_VERBOSE: true
CARGOFLAGS: --workspace --all-targets --all-features
RUST_LOG: trace
RISC0_DEV_MODE: 1

jobs:
coverage:
runs-on: ubicloud-standard-16
env:
CARGO_TERM_COLOR: always

services:
postgres:
image: postgres:latest
env:
POSTGRES_DB: clementine
POSTGRES_USER: clementine
POSTGRES_PASSWORD: clementine
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- name: Install Rust
Expand Down

0 comments on commit 35c8f99

Please sign in to comment.