tests: rework passive tests into native go tests

this commit re-works the basic.t tests and administers them using go's
native testing suite.

Signed-off-by: ldelossa <ldelossa@redhat.com>
This commit is contained in:
ldelossa
2020-09-04 21:15:55 -04:00
committed by Louis DeLosSantos
parent 42e5d23f63
commit a8c961fe19
11 changed files with 1271 additions and 21 deletions
+22
View File
@@ -0,0 +1,22 @@
---
name: CI
on: [push, pull_request]
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
container: docker.io/library/golang:${{ matrix.go }}
strategy:
matrix:
go: ['1.13', '1.14']
steps:
- name: Checkout
uses: actions/checkout@v2
- name: add gox
run: go install github.com/mitchellh/gox
- name: make binaries
run: make all
- name: perform tests
run: go test -v ./...