Skip to content

v0.13.1-edgewize

v0.13.1-edgewize #6

Workflow file for this run

name: Unit tests
on:
release:
types: [created]
pull_request:
branches:
- main
paths:
- "**.go"
- "!test/**" # exclude changes in e2e tests
- ".github/workflows/unit-tests.yaml"
- "hack/test.sh"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
unit-test:
name: Execute all tests
runs-on: ubuntu-18.04
if: github.repository == 'loft-sh/vcluster'
steps:
- name: Set up Go 1.19
uses: actions/setup-go@v1
with:
go-version: 1.19
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Execute unit tests
run: ./hack/test.sh