-
Notifications
You must be signed in to change notification settings - Fork 31
40 lines (38 loc) · 995 Bytes
/
e2e-test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: End-to-end Tests
on:
workflow_dispatch:
inputs:
operatorVersion:
description: Authorino Operator version
required: true
default: latest
jobs:
e2e-tests:
name: End-to-end Tests
strategy:
matrix:
go-version: [1.21.x]
platform: [ubuntu-latest]
authconfig_version: [v1beta2, v1beta3]
runs-on: ${{ matrix.platform }}
defaults:
run:
shell: bash
steps:
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
id: go
- name: Install jq
run: sudo apt-get install jq
- name: Check out code
uses: actions/checkout@v3
with:
ref: ${{ github.sha }}
- name: Run make e2e
env:
OPERATOR_VERSION: ${{ github.event.inputs.operatorVersion }}
AUTHCONFIG_VERSION: ${{ matrix.authconfig_version }}
run: |
make e2e