Skip to content

Merge pull request #157 from SAP/Reuse-Migration-TOML-Branch #601

Merge pull request #157 from SAP/Reuse-Migration-TOML-Branch

Merge pull request #157 from SAP/Reuse-Migration-TOML-Branch #601

Workflow file for this run

name: go test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: 1.18.6
- name: Run init
run: make init
# Avoids problem with SAP/go-hdb/driver not being in GOROOT
- name: Make empty driver package
run: mkdir /opt/hostedtoolcache/go/1.18.6/x64/src/SAP ;
mkdir /opt/hostedtoolcache/go/1.18.6/x64/src/SAP/go-hdb ;
mkdir /opt/hostedtoolcache/go/1.18.6/x64/src/SAP/go-hdb/driver ;
touch /opt/hostedtoolcache/go/1.18.6/x64/src/SAP/go-hdb/driver/trick.go ;
echo 'package driver' >> /opt/hostedtoolcache/go/1.18.6/x64/src/SAP/go-hdb/driver/trick.go
- name: Run tests
run: make test