NOVER-196 http_opa should use bearer token and omit others #94
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
name: Test | |
on: pull_request | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
e2e: [false, true] | |
timeout-minutes: 5 | |
defaults: | |
run: | |
working-directory: ./src/github.com/${{ github.repository }} | |
env: | |
GOPATH: ${{ github.workspace }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
# check out actual commit that triggered event | |
ref: ${{ github.event.pull_request.head.sha }} | |
path: ./src/github.com/${{ github.repository }} | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.21.x | |
- name: Unit tests | |
if: ${{ !matrix.e2e }} | |
run: | | |
make test |