Skip to content

Commit

Permalink
💥 Remove builtin postgres adapter (#255)
Browse files Browse the repository at this point in the history
* 💥 Remove builtin postgres adapter

* remove pipeline
  • Loading branch information
Fs02 committed Nov 14, 2021
1 parent 48832cd commit d3aa0b8
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 358 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,27 +27,3 @@ jobs:
run: |
sleep 15
go test -race -tags=mysql ./...
postgres:
name: Postgres
strategy:
matrix:
postgres: [9, 10, 11, 12, 13]
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
- name: Setup PostgreSQL
uses: harmon758/postgresql-action@v1
with:
postgresql version: ${{ matrix.postgres }}
postgresql db: rel_test
postgresql user: rel
postgresql password: rel
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- env:
POSTGRESQL_DATABASE: postgres://rel:rel@localhost/rel_test
run: |
sleep 15
go test -race -tags=postgres ./...
7 changes: 0 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,12 @@ jobs:
mysql database: rel_test
mysql user: rel
mysql password: rel
- name: Setup PostgreSQL
uses: harmon758/postgresql-action@v1
with:
postgresql db: rel_test
postgresql user: rel
postgresql password: rel
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
fetch-depth: 2
- env:
MYSQL_DATABASE: rel:rel@(127.0.0.1:3306)/rel_test
POSTGRESQL_DATABASE: postgres://rel:rel@localhost/rel_test
run: go test -race -tags=all -coverprofile=coverage.txt -covermode=atomic ./...
- name: Codecov
uses: codecov/codecov-action@v1
191 changes: 0 additions & 191 deletions adapter/postgres/postgres.go

This file was deleted.

129 changes: 0 additions & 129 deletions adapter/postgres/postgres_test.go

This file was deleted.

7 changes: 0 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,3 @@ services:
- MYSQL_USER=rel
- MYSQL_DATABASE=rel_test
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
postgres:
image: 'postgres:alpine'
ports:
- 9920:5432
environment:
- POSTGRES_USER=rel
- POSTGRES_DB=rel_test

0 comments on commit d3aa0b8

Please sign in to comment.