Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

🐛 Use knative/client-pkg#174 #132

🐛 Use knative/client-pkg#174

🐛 Use knative/client-pkg#174 #132

Workflow file for this run

name: Testing
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
env:
FORCE_COLOR: true
jobs:
build:
name: Go
runs-on: ubuntu-latest
strategy:
matrix:
go-version:
- '1.22'
- '1.21'
steps:
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Test unit
run: go run gotest.tools/gotestsum@latest
--format testname --
-count=1
-race
-timeout=5m
-short
./...
- name: Test e2e
run: go run gotest.tools/gotestsum@latest
--format testname --
-tags=e2e
-count=1
-timeout=10m
./tests/...