Skip to content

chore: update ci and add some test for bare-metal #399

chore: update ci and add some test for bare-metal

chore: update ci and add some test for bare-metal #399

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
typos-check:
name: spell-typos-check
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v3
- name: Check spelling with custom config file
uses: crate-ci/[email protected]
linter:
name: linter
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: "1.18.4"
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.50.0
args: --timeout 10m0s
unit-test:
name: unit-test
runs-on: ubuntu-latest
needs: [ linter ]
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: "1.18.4"
- name: unit test
run: |
make test
e2e-test:
name: e2e-test-kubernetes
runs-on: ubuntu-latest
needs: [ linter ]
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: "1.18.4"
- name: e2e test of basic cluster
run: |
make e2e