Skip to content

debug

debug #5

name: VMActions
on:
push:
branches:
- vagrant/*
jobs:
test:
runs-on: ubuntu-latest
name: A job to run test in FreeBSD
env:
GOPATH: /home/runner/go
# MYTOKEN : ${{ secrets.MYTOKEN }}
steps:
- uses: actions/checkout@v4
- name: Test in FreeBSD
id: test
uses: vmactions/freebsd-vm@v1
with:
envs: 'GOPATH'
usesh: true
prepare: |
pkg install -y curl tesseract tesseract-data git go
mkdir -p ${GOPATH}/src/github.com/otiai10
cp -r . ${GOPATH}/src/github.com/otiai10/gosseract
cd ${GOPATH}/src/github.com/otiai10/gosseract
pwd
ls -lah
env
run: |
pwd
ls -lah
whoami
env
freebsd-version
# cd $GOPATH/src/github.com/otiai10/gosseract
# go test -v -cover ./...
# exit $?