Skip to content

fix: tests failing to run because Ginkgo isn't available #14

fix: tests failing to run because Ginkgo isn't available

fix: tests failing to run because Ginkgo isn't available #14

Workflow file for this run

name: Test 🧪
on:
pull_request:
workflow_dispatch:
push:
branches:
- main
jobs:
lint:
name: Lint 🧹
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.20.x"
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
test:
name: Test 🧪
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.20.x"
- name: Install dependencies
run: |
go get github.com/onsi/ginkgo/v2/ginkgo
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
ls -l "$(go env GOPATH)/bin"
echo "PATH: $PATH"
- name: Run tests
env:
AUTH0_DOMAIN: ${{ secrets.AUTH0_DOMAIN }}
AUTH0_CLIENT_ID: ${{ secrets.AUTH0_CLIENT_ID }}
AUTH0_CLIENT_SECRET: ${{ secrets.AUTH0_CLIENT_SECRET }}
run: make test-ginkgo