From d779d948c836c0c216db74496a248c5de0c4f406 Mon Sep 17 00:00:00 2001 From: negbie Date: Mon, 29 Jun 2020 22:08:30 +0200 Subject: [PATCH] Add github action --- .github/workflows/test.yml | 12 ++++++++++++ .gitignore | 1 - 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..3c7e133 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,12 @@ +on: [push, pull_request] +name: Test +jobs: + test: + strategy: + matrix: + go-version: [1.13.x, 1.14.x] + platform: [ubuntu-latest] + runs-on: ${{ matrix.platform }} + steps: + - name: Test + run: go test $(go list ./... | grep -Ev 'dialog|example|fone|util') diff --git a/.gitignore b/.gitignore index ee0a5ac..c3c3305 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ *.test /fone/fone -.* /sftp-config.json /main /main.go