From c9e72986a9bc48daeda0b5e882739bf6298a24be Mon Sep 17 00:00:00 2001 From: Antonio Navarro Perez Date: Mon, 27 Jul 2020 12:23:53 +0200 Subject: [PATCH] Add github actions for tests Signed-off-by: Antonio Navarro Perez --- .github/workflows/test.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..e91a897 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,19 @@ +on: [push, pull_request] +name: Test +jobs: + test: + strategy: + matrix: + go-version: [1.13.x, 1.14.x] + platform: [ubuntu-latest] + # platform: [ubuntu-latest, macos-latest, windows-latest] + runs-on: ${{ matrix.platform }} + steps: + - name: Install Go + uses: actions/setup-go@v2 + with: + go-version: ${{ matrix.go-version }} + - name: Checkout code + uses: actions/checkout@v2 + - name: Test + run: make test \ No newline at end of file