Skip to content

Commit

Permalink
Merge pull request #8 from skuid/test-github-actions-1
Browse files Browse the repository at this point in the history
PLIN-2596 Add ci tests workflow in github actions
  • Loading branch information
mochacat authored Jun 25, 2020
2 parents 3c3d0ce + 5d2fb32 commit 3823eb1
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 74 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: ci

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:

test:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
uses: actions/setup-go@v2
with:
go-version: 1.13.x
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Test
run: go test -timeout 3m -v ./...
44 changes: 0 additions & 44 deletions Gopkg.lock

This file was deleted.

30 changes: 0 additions & 30 deletions Gopkg.toml

This file was deleted.

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This is mostly intended to be used as a library for parsing, manipulating, and s

For example, given a condition logic string like so `1 OR 2 AND (3 AND 4)`, this will allow you to remove any leaves by value and still get a valid condition logic string.

[![ci status](https://github.com/skuid/balsa/workflows/ci/badge.svg)](https://github.com/skuid/balsa/actions)

# Usage

## Parse
Expand Down

0 comments on commit 3823eb1

Please sign in to comment.