Skip to content

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

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

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

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.*
- 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.*
- name: Install dependencies
run: |
go get github.com/onsi/ginkgo/v2/ginkgo
echo $(go env GOPATH)/bin >> $GITHUB_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