Skip to content

chore(ci): code coverage reporting #111

chore(ci): code coverage reporting

chore(ci): code coverage reporting #111

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
lint-and-test:
name: Lint & Test
runs-on: ubuntu-latest
services:
qdrant:
image: qdrant/qdrant:v1.9.2
ports:
- 6334:6334
env:
RUST_LOG: DEBUG
RUST_BACKTRACE: 1
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install stable --component clippy --component rustfmt --profile minimal
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
fluyt
- uses: r7kamura/rust-problem-matchers@v1
- name: "Clippy"
run: cargo clippy
- name: "Rustfmt"
run: cargo fmt --all --check
- name: "Test"
run: cargo test --verbose --workspace --all-features