chore: rename internal/db to internal/database (#7665)

This commit is contained in:
Joe Chen
2024-02-18 19:39:41 -05:00
committed by GitHub
parent cad79a31d8
commit 3650b32ec5
159 changed files with 1612 additions and 1612 deletions

View File

@@ -162,7 +162,7 @@ jobs:
with:
go-version: ${{ matrix.go-version }}
- name: Run tests with coverage
run: go test -shuffle=on -v -race -coverprofile=coverage -covermode=atomic ./internal/db/...
run: go test -shuffle=on -v -race -coverprofile=coverage -covermode=atomic ./internal/database/...
env:
GOGS_DATABASE_TYPE: postgres
PGPORT: 5432
@@ -188,7 +188,7 @@ jobs:
with:
go-version: ${{ matrix.go-version }}
- name: Run tests with coverage
run: go test -shuffle=on -v -race -coverprofile=coverage -covermode=atomic ./internal/db/...
run: go test -shuffle=on -v -race -coverprofile=coverage -covermode=atomic ./internal/database/...
env:
GOGS_DATABASE_TYPE: mysql
MYSQL_USER: root
@@ -211,6 +211,6 @@ jobs:
with:
go-version: ${{ matrix.go-version }}
- name: Run tests with coverage
run: go test -shuffle=on -v -race -parallel=1 -coverprofile=coverage -covermode=atomic ./internal/db/...
run: go test -shuffle=on -v -race -parallel=1 -coverprofile=coverage -covermode=atomic ./internal/database/...
env:
GOGS_DATABASE_TYPE: sqlite