#98 Set up FreeBSD tests via CirrusCI

We need the environment also it starts in auth/ which is weird
This commit is contained in:
Winni Neessen 2023-01-12 00:52:01 +01:00
parent 570ccca98f
commit 4198664737
Signed by: wneessen
GPG key ID: 5F3AF39B820C119D

View file

@ -13,8 +13,18 @@ freebsd_task:
freebsd_instance: freebsd_instance:
image_family: freebsd-12-4 image_family: freebsd-12-4
env:
TEST_HOST: ${{ secrets.TEST_HOST }}
TEST_FROM: ${{ secrets.TEST_USER }}
TEST_ALLOW_SEND: "1"
TEST_SMTPAUTH_USER: ${{ secrets.TEST_USER }}
TEST_SMTPAUTH_PASS: ${{ secrets.TEST_PASS }}
TEST_SMTPAUTH_TYPE: "LOGIN"
pkginstall_script: pkginstall_script:
- pkg update -f - pkg update -f
- pkg install -y go - pkg install -y go
test_script: test_script:
- cd ..
- go test -v -race -cover -shuffle=on ./... - go test -v -race -cover -shuffle=on ./...