Files
cgofuse/.github/workflows/test.yaml
Matheus Sampaio Queiroga 6a99ef3fb4
All checks were successful
Fuse test / go-test (push) Successful in 34s
Fix freebsd fuse utils and add test to linux
Signed-off-by: Matheus Sampaio Queiroga <srherobrine20@gmail.com>
2025-08-03 20:53:23 -03:00

36 lines
727 B
YAML

name: Fuse test
on:
pull_request:
branches: [main]
push:
branches: [main]
tags-ignore:
- '*'
jobs:
go-test:
runs-on: ubuntu-latest
steps:
- name: Mount tmpfs (linux)
run: sudo mount -t tmpfs tmpfs /tmp
- uses: actions/checkout@v3
name: Checkout code
- uses: actions/setup-go@v4
with:
go-version-file: "go.mod"
cache: true
- name: Download go dependencies
run: go mod download
- name: Install fuse (linux)
run: sudo apt update && sudo apt install -y build-essential libfuse-dev libfuse3-dev
env:
DEBIAN_FRONTEND: noninteractive
- name: Test
timeout-minutes: 6
run: go test -timeout 5m -v ./...