This repository was archived by the owner on Feb 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +12
-23
lines changed
Expand file tree Collapse file tree 2 files changed +12
-23
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,19 @@ jobs:
2121
2222 - name : unit-tests
2323 run : |
24- go test ./... -coverprofile=coverage.out
25- cat coverage.out | grep -v "query/parser.gen.go" | grep -v "query/ast.go:81" > coverage_filtered.out
24+ go test ./... -coverprofile=$GITHUB_WORKSPACE/ coverage.out
25+ cat $GITHUB_WORKSPACE/ coverage.out | grep -v "query/parser.gen.go" | grep -v "query/ast.go:81" > $GITHUB_WORKSPACE/ coverage_filtered.out
2626 go tool cover -func=coverage_filtered.out
2727
28+ - name : install-goveralls
29+ run : |
30+ go install github.com/mattn/goveralls@latest
31+
32+ - name : submit-coverage
33+ run : $(go env GOPATH)/bin/goveralls -service="github" -coverprofile=$GITHUB_WORKSPACE/coverage_filtered.out
34+ env :
35+ COVERALLS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36+
2837 - name : golangci-lint
2938 uses : golangci/golangci-lint-action@v6
3039 with :
Original file line number Diff line number Diff line change 1- # dumbql
1+ # dumbql ![ GitHub go.mod Go version ] ( https://img.shields.io/github/go-mod/go-version/defer-panic/dumbql ) ![ GitHub License ] ( https://img.shields.io/github/license/defer-panic/dumbql ) ![ GitHub Tag ] ( https://img.shields.io/github/v/tag/defer-panic/dumbql ) [ ![ Go Report Card ] ( https://goreportcard.com/badge/github.com/defer-panic/dumbql )] ( https://goreportcard.com/report/github.com/defer-panic/dumbql ) [ ![ CI ] ( https://github.com/defer-panic/dumbql/actions/workflows/main.yml/badge.svg )] ( https://github.com/defer-panic/dumbql/actions/workflows/main.yml ) [ ![ Coverage Status ] ( https://coveralls.io/repos/github/defer-panic/dumbql/badge.svg?branch=main )] ( https://coveralls.io/github/defer-panic/dumbql?branch=main ) [ ![ Go Reference ] ( https://pkg.go.dev/badge/github.com/defer-panic/dumbql.svg )] ( https://pkg.go.dev/github.com/defer-panic/dumbql )
22
33Simple (dumb) query language and parser for Go.
44
5- ## Table of Contents
6-
7- <!-- TOC -->
8- * [ dumbql] ( #dumbql )
9- * [ Table of Contents] ( #table-of-contents )
10- * [ Features] ( #features )
11- * [ Examples] ( #examples )
12- * [ Simple parse] ( #simple-parse )
13- * [ Validation against schema] ( #validation-against-schema )
14- * [ Convert to SQL] ( #convert-to-sql )
15- * [ Match against structs] ( #match-against-structs )
16- * [ Query syntax] ( #query-syntax )
17- * [ Field expression] ( #field-expression )
18- * [ Field expression operators] ( #field-expression-operators )
19- * [ Boolean operators] ( #boolean-operators )
20- * [ “One of” expression] ( #one-of-expression )
21- * [ Numbers] ( #numbers )
22- * [ Strings] ( #strings )
23- <!-- TOC -->
24-
255## Features
266
277- Field expressions (` age >= 18 ` , ` field.name:"field value" ` , etc.)
You can’t perform that action at this time.
0 commit comments