From d1af21f62679fd9eb0e5f12f456ff06edeede53e Mon Sep 17 00:00:00 2001 From: Zachary Yedidia Date: Mon, 30 Jan 2023 17:34:30 -0800 Subject: [PATCH] Convert ci to github actions --- .github/workflows/test.yaml | 22 ++++++++++++++++++++++ .travis.yml | 11 ----------- 2 files changed, 22 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/test.yaml delete mode 100644 .travis.yml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 00000000..9b93b938 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,22 @@ +on: [push, pull_request] +name: Build and Test +jobs: + test: + strategy: + matrix: + go-version: [1.19.x] + os: [ubuntu-latest, macos-latest, windows-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/setup-go@v3 + with: + go-version: ${{ matrix.go-version }} + - uses: actions/checkout@v3 + + - name: Build + run: | + make build + + - name: Test + run: | + make test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f2f72574..00000000 --- a/.travis.yml +++ /dev/null @@ -1,11 +0,0 @@ -language: go -go: - - "1.13.x" -os: - - linux - - osx - - windows -script: - - go build ./cmd/micro - - go test ./internal/... - - go test ./cmd/...