File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 run : go build -v ./...
2626
2727 - name : Run tests with coverage
28- run : go test -covermode atomic -coverprofile=covprofile ./...
28+ run : go test -tags=chaos - covermode atomic -coverprofile=covprofile ./...
2929
3030 - name : Install goveralls
3131 run : go install github.com/mattn/goveralls@latest
Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ help: ## Prints this message
2121
2222.PHONY : test
2323test : # # Run all tests
24- @go test -cover -coverprofile=coverage.out -v ./...
24+ @go test -tags=chaos - cover -coverprofile=coverage.out -v ./...
2525 @go tool cover -html=coverage.out -o coverage.html
2626
2727.PHONY : test.sqlite
2828test.sqlite : # # Run all tests with SQLite store
29- @go test -tags sqlite -cover -coverprofile=coverage.out -v ./...
29+ @go test -tags=chaos -tags sqlite -cover -coverprofile=coverage.out -v ./...
3030 @go tool cover -html=coverage.out -o coverage.html
3131
3232.PHONY : test.short
3333test.short : # # Run short unit tests
34- @go test -short -cover -coverprofile=coverage.out -v ./...
34+ @go test -tags=chaos - short -cover -coverprofile=coverage.out -v ./...
3535 @go tool cover -html=coverage.out -o coverage.html
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ require (
88 github.com/jackc/pgx/v5 v5.7.6
99 github.com/lib/pq v1.10.9
1010 github.com/prometheus/client_golang v1.23.2
11- github.com/rom8726/chaoskit v0.7.1
11+ github.com/rom8726/chaoskit v0.9.0
1212 github.com/shopspring/decimal v1.4.0
1313 github.com/stretchr/testify v1.11.1
1414 github.com/testcontainers/testcontainers-go v0.40.0
Original file line number Diff line number Diff line change @@ -144,8 +144,8 @@ github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94
144144github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec /go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo =
145145github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ =
146146github.com/rogpeppe/go-internal v1.14.1 /go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc =
147- github.com/rom8726/chaoskit v0.7.1 h1:l1JIAcgbzPGlI/rFcUnGsY++fJWixjYaMVVOdwbnyXY =
148- github.com/rom8726/chaoskit v0.7.1 /go.mod h1:X7jRK6lVFFnpTGOEgduOndkF/HuJEuQh7+kjzo3WgKI =
147+ github.com/rom8726/chaoskit v0.9.0 h1:8lOlKPpVfYtIISz1zYX5rtrCjggkxvUYSvVBt00wk3A =
148+ github.com/rom8726/chaoskit v0.9.0 /go.mod h1:X7jRK6lVFFnpTGOEgduOndkF/HuJEuQh7+kjzo3WgKI =
149149github.com/shirou/gopsutil/v4 v4.25.10 h1:at8lk/5T1OgtuCp+AwrDofFRjnvosn0nkN2OLQ6g8tA =
150150github.com/shirou/gopsutil/v4 v4.25.10 /go.mod h1:+kSwyC8DRUD9XXEHCAFjK+0nuArFJM0lva+StQAcskM =
151151github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k =
You can’t perform that action at this time.
0 commit comments