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