Skip to content

Commit

Permalink
chore(tests): update to latest test suite (#64)
Browse files Browse the repository at this point in the history
* chore(tests): update to latest test suite

* refactor(tests): update to prepare test suite for draft2019_09, cleanup tests
  • Loading branch information
Arqu authored Apr 23, 2020
1 parent 1fbc1e0 commit 3f1bc86
Show file tree
Hide file tree
Showing 147 changed files with 13,488 additions and 167 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jobs:
build:
working_directory: /go/src/github.com/qri-io/jsonschema
docker:
- image: circleci/golang:1.9
- image: circleci/golang:1.13
environment:
GOLANG_ENV: test
PORT: 3000
Expand All @@ -12,19 +12,19 @@ jobs:
steps:
- checkout
- run: mkdir -p $TEST_RESULTS
- run: go get github.com/jstemmer/go-junit-report github.com/golang/lint/golint github.com/sergi/go-diff/diffmatchpatch
- run: go get github.com/jstemmer/go-junit-report golang.org/x/lint/golint github.com/sergi/go-diff/diffmatchpatch
- run:
name: Install deps
command: >
go get -v -d -u
github.com/jstemmer/go-junit-report
github.com/jstemmer/go-junit-report
github.com/qri-io/jsonpointer
- run:
- run:
name: Run Lint Tests
command: golint -set_exit_status ./...
- run:
name: Run Tests
command: go test -v -race -coverprofile=coverage.txt -covermode=atomic
- run:
name: Publish coverage info to codecov.io
command: bash <(curl -s https://codecov.io/bash)
command: bash <(curl -s https://codecov.io/bash)
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module github.com/qri-io/jsonschema

go 1.13

require (
github.com/qri-io/jsonpointer v0.1.0
github.com/sergi/go-diff v1.0.0
Expand Down
Loading

0 comments on commit 3f1bc86

Please sign in to comment.