Skip to content

Commit

Permalink
bumped version, fixed test commands
Browse files Browse the repository at this point in the history
  • Loading branch information
sio4 committed Jul 9, 2022
1 parent ae2a452 commit 59bc255
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,16 @@ jobs:
SODA_DIALECT: "mysql"
MYSQL_PORT: 3307
run: |
go test -tags sqlite -race ./...
go test -v -tags sqlite -race ./...
- name: Reset soda and run e2e
env:
SODA_DIALECT: "sqlite"
run: |
soda drop -e $SODA_DIALECT -p ./testdata/migrations
soda create -e $SODA_DIALECT -p ./testdata/migrations
go test -tags sqlite,e2e -race ./internal/e2e/...
cd testdata/e2e
go test -v -tags sqlite,e2e -race ./...
pg-tests:
name: PostgreSQL tests - Go v${{ matrix.go-version }}
Expand Down Expand Up @@ -102,15 +103,16 @@ jobs:
SODA_DIALECT: "postgres"
POSTGRESQL_URL: "postgres://postgres:postgres@${{job.services.postgres.host}}:${{ job.services.postgres.ports[5432] }}/pop_test?sslmode=disable"
run: |
go test -tags sqlite -race ./...
go test -v -tags sqlite -race ./...
- name: Reset soda and run e2e
env:
SODA_DIALECT: "sqlite"
run: |
soda drop -e $SODA_DIALECT -p ./testdata/migrations
soda create -e $SODA_DIALECT -p ./testdata/migrations
go test -tags sqlite,e2e -race ./internal/e2e/...
cd testdata/e2e
go test -v -tags sqlite,e2e -race ./...
crdb-tests:
name: Cockroach tests - Go v${{ matrix.go-version }}
Expand Down Expand Up @@ -150,15 +152,16 @@ jobs:
env:
SODA_DIALECT: "cockroach"
run: |
go test -tags sqlite -race ./...
go test -v -tags sqlite -race ./...
- name: Reset soda and run e2e
env:
SODA_DIALECT: "sqlite"
run: |
soda drop -e $SODA_DIALECT -p ./testdata/migrations
soda create -e $SODA_DIALECT -p ./testdata/migrations
go test -tags sqlite,e2e -race ./internal/e2e/...
cd testdata/e2e
go test -v -tags sqlite,e2e -race ./...
sqlite-tests:
name: SQLite tests ${{ matrix.os }} - Go v${{ matrix.go-version }}
Expand Down Expand Up @@ -199,15 +202,15 @@ jobs:
env:
SODA_DIALECT: "sqlite"
run: |
go test -tags sqlite -race ./...
go test -v -tags sqlite -race ./...
shell: bash

- name: Test without race detection
if: ${{ matrix.os == 'windows-latest' }}
env:
SODA_DIALECT: "sqlite"
run: |
go test -tags sqlite ./...
go test -v -tags sqlite ./...
shell: bash

- name: Reset soda and run e2e
Expand All @@ -217,7 +220,8 @@ jobs:
run: |
soda drop -e $SODA_DIALECT -p ./testdata/migrations
soda create -e $SODA_DIALECT -p ./testdata/migrations
go test -tags sqlite,e2e -race ./internal/e2e/...
cd testdata/e2e
go test -v -tags sqlite,e2e -race ./...
shell: bash

- name: Reset soda and run e2e without race detection
Expand All @@ -227,5 +231,6 @@ jobs:
run: |
soda drop -e $SODA_DIALECT -p ./testdata/migrations
soda create -e $SODA_DIALECT -p ./testdata/migrations
go test -tags sqlite,e2e ./internal/e2e/...
cd testdata/e2e
go test -v -tags sqlite,e2e ./...
shell: bash
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ generated/
bin/*
gin-bin
.idea/
.vscode/
cockroach-data/
migrations/schema.sql
vendor/
sqldumps/
sql/
sql/
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package fizz

// Version gives the current fizz version.
const Version = "v1.14.1"
const Version = "v1.14.2"

0 comments on commit 59bc255

Please sign in to comment.