chore(rqlite-rs): bump dependencies #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build_and_test: | |
strategy: | |
fail-fast: false | |
matrix: | |
version: | |
- stable | |
name: "Tests: ${{ matrix.version }} - x86_64-unknown-linux-gnu" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install ${{ matrix.version }} | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.version }}-x86_64-unknown-linux-gnu | |
profile: minimal | |
- name: Generate Cargo.lock | |
uses: actions-rs/cargo@v1 | |
with: | |
command: generate-lockfile | |
- name: Setup rqlite for tests | |
run: | | |
docker compose -f rqlite-rs/tests/setup/docker-compose.yml up -d --wait | |
- name: Download tarpaulin | |
run: cargo install cargo-tarpaulin | |
- name: Run tests | |
run: cargo tarpaulin --out Xml -- --test-threads 1 --nocapture | |
- name: Upload to codecov | |
uses: codecov/codecov-action@v4.0.1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
slug: tomvoet/rqlite-rs | |
- name: Stop rqlite | |
run: | | |
docker compose -f rqlite-rs/tests/setup/docker-compose.yml down |