Bump github.com/senzing/go-cmdhelping from 0.1.8 to 0.1.9 #44
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on | |
# - https://github.com/marketplace/actions/setup-go-environment | |
name: go-test-darwin.yaml | |
on: [push] | |
env: | |
DYLD_LIBRARY_PATH: /opt/senzing/g2/lib:/opt/senzing/g2/lib/macos | |
LD_LIBRARY_PATH: /opt/senzing/g2/lib:/opt/senzing/g2/lib/macos | |
SENZING_TOOLS_DATABASE_URL: "sqlite3://na:na@/tmp/sqlite/G2C.db" | |
jobs: | |
go-test-darwin: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
go: ["1.21"] | |
senzingapi-version: ["staging"] | |
name: Go ${{ matrix.go }} using Senzing API ${{ matrix.senzingapi-version }} on darwin | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Install Senzing API | |
uses: Senzing/github-action-install-senzing-api@latest | |
with: | |
senzingapi-version: ${{ matrix.senzingapi-version }} | |
- name: Copy /etc files | |
run: sudo cp testdata/senzing-license/g2.lic /opt/senzing/g2/etc/g2.lic | |
- name: Copy test database files | |
run: mkdir /tmp/sqlite && cp testdata/sqlite/G2C.db /tmp/sqlite/G2C.db | |
- name: Run go test | |
run: go test -exec /Users/runner/work/load/load/bin/macos_exec_dyld.sh -v -p 1 ./... |