mirror of
https://github.com/int128/kubelogin.git
synced 2026-05-23 16:22:48 +00:00
30 lines
890 B
YAML
30 lines
890 B
YAML
on:
|
|
push:
|
|
paths:
|
|
- .github/workflows/system-test.yaml
|
|
- system_test/**
|
|
- pkg/**
|
|
- go.*
|
|
jobs:
|
|
system-test:
|
|
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/software-installed-on-github-hosted-runners#ubuntu-1804-lts
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.14
|
|
id: go
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/cache@v2
|
|
with:
|
|
path: ~/go/pkg/mod
|
|
key: go-${{ hashFiles('**/go.sum') }}
|
|
restore-keys: |
|
|
go-
|
|
# https://packages.ubuntu.com/xenial/libnss3-tools
|
|
- run: sudo apt update
|
|
- run: sudo apt install -y libnss3-tools
|
|
- run: echo '127.0.0.1 dex-server' | sudo tee -a /etc/hosts
|
|
- run: make -C system_test -j3 setup
|
|
- run: make -C system_test test
|