Fix BSD tests.

This commit is contained in:
Nuno Cruces
2023-12-12 02:03:02 +00:00
parent 05077b8845
commit 86cc08e4d6
2 changed files with 9 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ jobs:
go-version: stable
- name: Build
run: GOOS=freebsd go test -c ./...
run: GOOS=freebsd go test -c . ./vfs/... ./tests/...
- name: Test
uses: cross-platform-actions/action@v0.21.1
@@ -26,4 +26,7 @@ jobs:
operating_system: freebsd
version: '13.2'
sync_files: runner-to-vm
run: find . -name '*.test' -maxdepth 1 -exec {} -test.v \;
run: |
foreach test ( *.test )
./$test -test.v || exit $?
end