mirror of
https://github.com/int128/kubelogin.git
synced 2026-05-17 05:16:36 +00:00
42 lines
841 B
YAML
42 lines
841 B
YAML
name: system-test
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- .github/workflows/system-test.yaml
|
|
- system_test/**
|
|
- pkg/**
|
|
- go.*
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- .github/workflows/system-test.yaml
|
|
- system_test/**
|
|
- pkg/**
|
|
- go.*
|
|
|
|
jobs:
|
|
system-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: 1.23.1
|
|
|
|
# for certutil
|
|
# https://packages.ubuntu.com/xenial/libnss3-tools
|
|
- run: sudo apt update
|
|
- run: sudo apt install -y libnss3-tools
|
|
- run: mkdir -p ~/.pki/nssdb
|
|
|
|
- run: echo '127.0.0.1 dex-server' | sudo tee -a /etc/hosts
|
|
|
|
- run: make -C system_test -j3
|
|
|
|
- run: make -C system_test logs
|
|
if: always()
|