Skip to content

Commit

Permalink
Change gorp to borp (#1)
Browse files Browse the repository at this point in the history
Configures borp as a Go module, fixes the tests to work with the latest
version of `onpar`, removes Postgres dialect support, replaces instances
of `gorp` with `borp`, and updates the README.
  • Loading branch information
jsha authored Jun 29, 2023
1 parent 2db0f5e commit b842b69
Show file tree
Hide file tree
Showing 33 changed files with 259 additions and 1,029 deletions.
32 changes: 13 additions & 19 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,25 @@
name: Go
name: Test

on:
push:
branches:
- main
- v3
pull_request:
branches:
- main
- v3
- '**'

permissions:
contents: read

jobs:

integration-tests:
runs-on: ubuntu-latest
container: golang:1.18
container: golang:1.20

services:
postgres:
image: postgres
env:
POSTGRES_DB: gorptest
POSTGRES_USER: gorptest
POSTGRES_PASSWORD: gorptest
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 10
mysql:
image: mysql:5.7
image: mariadb:10.5
env:
MYSQL_DATABASE: gorptest
MYSQL_USER: gorptest
Expand All @@ -44,15 +33,20 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false

- name: Integration Tests
run: ./test_all.sh

quick-tests:
runs-on: ubuntu-latest
container: golang:1.18
container: golang:1.20
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false


- name: Go Build
run: go build -v ./...
Expand Down
Loading

0 comments on commit b842b69

Please sign in to comment.