mirror of
https://github.com/Threnklyn/jira.git
synced 2026-05-27 08:18:29 +02:00
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:
committed by
Louis DeLosSantos
parent
42e5d23f63
commit
a8c961fe19
@@ -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 ./...
|
||||
Reference in New Issue
Block a user