mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-27 08:29:33 -05:00
28 lines
508 B
YAML
28 lines
508 B
YAML
|
name: Unit Tests
|
||
|
|
||
|
on:
|
||
|
workflow_dispatch:
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
pull_request:
|
||
|
|
||
|
jobs:
|
||
|
test:
|
||
|
runs-on: ubuntu-latest
|
||
|
env:
|
||
|
GOPRIVATE: github.com/edgelesssys/*
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
|
||
|
- name: Set up Go
|
||
|
uses: actions/setup-go@v2
|
||
|
with:
|
||
|
go-version: 1.18
|
||
|
|
||
|
- name: Install Dependencies
|
||
|
run: sudo apt-get update && sudo apt-get install -y libcryptsetup-dev
|
||
|
|
||
|
- name: Test
|
||
|
run: go test -race -count=3 ./...
|