Skip to content

Merge pull request #25 from syngit-org/dev #50

Merge pull request #25 from syngit-org/dev

Merge pull request #25 from syngit-org/dev #50

Workflow file for this run

name: Tests
on:
# run it on push to the default repository branch
push:
branches:
- main
- dev
tags:
- '*'
jobs:
tests:
name: Setup KinD cluster and run tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Install kubectl
uses: azure/setup-kubectl@v1
with:
version: 'latest'
- name: Set up KinD
uses: helm/[email protected]
with:
version: v0.23.0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.22'
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y make
- name: Setup the tls certs
run: ./config/webhook/gen-certs-serv-cli.sh
- name: Run tests
run: make test