Skip to content

Add doctests to AsyncSolrClient and BlockingSolrClient #82

Add doctests to AsyncSolrClient and BlockingSolrClient

Add doctests to AsyncSolrClient and BlockingSolrClient #82

Workflow file for this run

name: Unit tests, linting, and formatting
on: [ push ]
jobs:
msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update Rust
run: |
rustup override set stable
rustup update stable
- name: Install cargo-msrv
run: cargo install cargo-msrv --locked
- name: Check MSRV
run: cargo msrv verify --all-features --path framework/
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update Rust
run: |
rustup override set stable
rustup update stable
- name: Lint
run: cargo clippy
- name: Check formatting
run: cargo fmt --check
checks:
runs-on: ubuntu-latest
strategy:
matrix:
docker-version: [ "8_0", "8_11", "9_3" ]
steps:
- uses: actions/checkout@v3
- name: Update Rust
run: |
rustup override set stable
rustup update stable
- name: Start docker containers
run: docker compose up -d
working-directory: ./docker/${{ matrix.docker-version }}
- name: Run tests
run: cargo test --all-features