mirror of
https://github.com/holos-run/holos.git
synced 2026-03-20 01:04:59 +00:00
No longer necessary now that we're on v1alpha4. Test coverage for v1alpha4 and the user facing guides will be added back soon for use both in the holos repo and in Unity.
47 lines
851 B
YAML
47 lines
851 B
YAML
name: Unit Tests
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- test
|
|
pull_request:
|
|
types: [opened, synchronize]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: stable
|
|
|
|
- name: Install Packages
|
|
run: sudo apt update && sudo apt -qq -y install git curl zip unzip tar bzip2 make
|
|
|
|
- name: Set up Helm
|
|
uses: azure/setup-helm@v4
|
|
|
|
- name: Set up Kubectl
|
|
uses: azure/setup-kubectl@v4
|
|
|
|
- name: Install Tools
|
|
run: |
|
|
set -x
|
|
make tools
|
|
|
|
- name: Test
|
|
run: ./scripts/test
|