Skip to content

ci: workflows for format, doc, test #2

ci: workflows for format, doc, test

ci: workflows for format, doc, test #2

Workflow file for this run

name: Build and test
on:
push:
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@main
- name: Test async only
run: nix develop --no-update-lock-file --command cargo test --no-default-features -F async,all-devices
- name: Test sync only
run: nix develop --no-update-lock-file --command cargo test --no-default-features -F sync,all-devices
- name: Test all
run: nix develop --no-update-lock-file --command cargo test --all-features