From f965c695120e01b5c9f24c9010fb975747f9acef Mon Sep 17 00:00:00 2001 From: Fenny <25108519+Fenny@users.noreply.github.com> Date: Thu, 5 Nov 2020 09:37:33 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20update=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test-memory.yml | 2 +- .github/workflows/test-mongodb.yml | 2 +- .github/workflows/test-mysql.yml | 2 +- .github/workflows/test-postgres.yml | 2 +- .github/workflows/test-redis.yml | 2 +- .github/workflows/test-sqlite3.yml | 2 +- memcache/memcache_test.go | 2 -- memory/memory_test.go | 2 -- mongodb/mongodb_test.go | 2 -- mysql/mysql_test.go | 2 -- postgres/postgres_test.go | 2 -- redis/redis_test.go | 2 -- sqlite3/fiber.sqlite3 | Bin 16384 -> 0 bytes sqlite3/sqlite3_test.go | 2 -- 14 files changed, 6 insertions(+), 20 deletions(-) delete mode 100644 sqlite3/fiber.sqlite3 diff --git a/.github/workflows/test-memory.yml b/.github/workflows/test-memory.yml index 629734f6..d237abc0 100644 --- a/.github/workflows/test-memory.yml +++ b/.github/workflows/test-memory.yml @@ -15,4 +15,4 @@ jobs: - name: Fetch Repository uses: actions/checkout@v2 - name: Run Test - run: cd ./memory && go test ./... -tags=memory -v -race \ No newline at end of file + run: cd ./memory && go test ./... -v -race \ No newline at end of file diff --git a/.github/workflows/test-mongodb.yml b/.github/workflows/test-mongodb.yml index 805ca361..448f13b2 100644 --- a/.github/workflows/test-mongodb.yml +++ b/.github/workflows/test-mongodb.yml @@ -20,4 +20,4 @@ jobs: - name: Fetch Repository uses: actions/checkout@v2 - name: Run Test - run: go test ./mongodb -tags=mongodb -v -race + run: cd ./mongodb && go test ./... -v -race diff --git a/.github/workflows/test-mysql.yml b/.github/workflows/test-mysql.yml index 35e517a9..988adb42 100644 --- a/.github/workflows/test-mysql.yml +++ b/.github/workflows/test-mysql.yml @@ -30,7 +30,7 @@ jobs: - name: Fetch Repository uses: actions/checkout@v2 - name: Run Test - run: go test ./mysql -tags=mysql -v -race + run: cd ./mysql && go test ./... -v -race env: MYSQL_USERNAME: username MYSQL_PASSWORD: password diff --git a/.github/workflows/test-postgres.yml b/.github/workflows/test-postgres.yml index 6b0cf540..d8448302 100644 --- a/.github/workflows/test-postgres.yml +++ b/.github/workflows/test-postgres.yml @@ -29,7 +29,7 @@ jobs: - name: Fetch Repository uses: actions/checkout@v2 - name: Run Test - run: go test ./postgres -tags=postgres -v -race + run: cd ./postgres && go test ./... -v -race env: POSTGRES_DATABASE: fiber POSTGRES_USERNAME: username diff --git a/.github/workflows/test-redis.yml b/.github/workflows/test-redis.yml index 4d14c935..049b503c 100644 --- a/.github/workflows/test-redis.yml +++ b/.github/workflows/test-redis.yml @@ -20,4 +20,4 @@ jobs: - name: Fetch Repository uses: actions/checkout@v2 - name: Run Test - run: go test ./redis -tags=redis -v -race + run: cd ./redis && go test ./... -v -race diff --git a/.github/workflows/test-sqlite3.yml b/.github/workflows/test-sqlite3.yml index 81db03cd..6ce6994c 100644 --- a/.github/workflows/test-sqlite3.yml +++ b/.github/workflows/test-sqlite3.yml @@ -15,4 +15,4 @@ jobs: - name: Fetch Repository uses: actions/checkout@v2 - name: Run Test - run: go test ./sqlite3 -tags=sqlite3 -v -race + run: cd ./sqlite3 && go test ./... -v -race diff --git a/memcache/memcache_test.go b/memcache/memcache_test.go index f2ca81b8..65044835 100644 --- a/memcache/memcache_test.go +++ b/memcache/memcache_test.go @@ -1,5 +1,3 @@ -// +build memcache - package memcache import ( diff --git a/memory/memory_test.go b/memory/memory_test.go index 4f1e476b..8d5056e6 100644 --- a/memory/memory_test.go +++ b/memory/memory_test.go @@ -1,5 +1,3 @@ -// +build memory - package memory import ( diff --git a/mongodb/mongodb_test.go b/mongodb/mongodb_test.go index 30b2c6ec..35e94f28 100644 --- a/mongodb/mongodb_test.go +++ b/mongodb/mongodb_test.go @@ -1,5 +1,3 @@ -// +build mongodb - package mongodb import ( diff --git a/mysql/mysql_test.go b/mysql/mysql_test.go index a44f2e6a..cf80a154 100644 --- a/mysql/mysql_test.go +++ b/mysql/mysql_test.go @@ -1,5 +1,3 @@ -// +build mysql - package mysql import ( diff --git a/postgres/postgres_test.go b/postgres/postgres_test.go index 094f5b0f..b9806ae1 100644 --- a/postgres/postgres_test.go +++ b/postgres/postgres_test.go @@ -1,5 +1,3 @@ -// +build postgres - package postgres import ( diff --git a/redis/redis_test.go b/redis/redis_test.go index 0babb1c7..1c9cf51b 100644 --- a/redis/redis_test.go +++ b/redis/redis_test.go @@ -1,5 +1,3 @@ -// +build redis - package redis import ( diff --git a/sqlite3/fiber.sqlite3 b/sqlite3/fiber.sqlite3 deleted file mode 100644 index 49f130baef8e7bf16a34c7f78563eb8e0cc774cb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16384 zcmeI%O)tbi7zgl~&W3h_O7_s}bE{1dix4-pTWnNOCB$J<*vuo8s;<(9wlIhITd1f;6yG^^h<22%sPNLRT5YrqRXPmQTBF0!=)|{-pqR7tA znD++$X!C4(?QvB9U}Ef<=|X>!4GIJx009U<00Izz00bZa0SG|gp8{nuWE4z()M(bj zPT09VX&i^GT04$f!D*N)d$#4* zN|{hdXf?qeO&;Tn>2LZ=(nWy)1Rwwb2tWV=5P$##AOHafKwvNhMwFaUP|u^Y=4?F* zM|dwP$td~BpWgr9_1D2X9d-=?2tWV=5P$##AOHafKmY;|fIvn-69!K|11PF6w4_)1 pzW;yf@0nZ#5P$##AOHafKmY;|fB*y_009ULx