Skip to content

Update test.yml

Update test.yml #7

Workflow file for this run

name: test
on:
pull_request:
push:
jobs:
rust_doc_test:
strategy:
matrix:
os:
- ubuntu-latest
- freebsd-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-rust
- name: Install dependencies
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt update
sudo apt install -y fuse3 libfuse3-dev
- name: Install dependencies
if: startsWith(matrix.os, 'freebsd')
run: |
sudo pkg install -y pkg-config
- name: Run test
run: cargo test --locked --release
env:
RUST_BACKTRACE: 1