mirror of
https://github.com/retailcrm/api-client-go.git
synced 2025-04-11 21:10:56 +00:00
16 lines
357 B
Bash
Executable file
16 lines
357 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
export DEVELOPER_NODE=1
|
|
export RETAILCRM_URL=https://test.retailcrm.pro
|
|
export RETAILCRM_KEY=key
|
|
touch coverage.txt
|
|
|
|
go test ./errs/ -race -coverprofile=errs.out -covermode=atomic "$d"
|
|
go test ./v5/ -race -coverprofile=v5.out -covermode=atomic "$d"
|
|
|
|
cat errs.out >> coverage.txt
|
|
cat v5.out >> coverage.txt
|
|
|
|
rm errs.out
|
|
rm v5.out
|