Skip to content

Merge pull request #1 from Access-Labs-Inc/context #16

Merge pull request #1 from Access-Labs-Inc/context

Merge pull request #1 from Access-Labs-Inc/context #16

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.18'
- name: Build
run: go build -v ./...
- name: Test
env:
TAPESTRY_API_KEY: ${{ secrets.TAPESTRY_API_KEY }}
TAPESTRY_API_BASE_URL: ${{ secrets.TAPESTRY_API_BASE_URL }}
run: |
go test
cd tests
go test --run TestProfileOperations
go test --run TestContentOperations
go test --run TestCommentOperations
go test --run TestLikeOperations
go test --run TestFollowerOperations