Skip to content

add database to test action #4

add database to test action

add database to test action #4

Workflow file for this run

name: test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
name: test
runs-on: ubuntu-latest
services:
oracle-19c:
image: ghcr.io/oracle/adb-free:latest # https://github.com/oracle/adb-free
ports:
- 1521:1521
env:
ADMIN_PASSWORD: TVDGXvpzQat8
WALLET_PASSWORD: tkmXp6Ug
oracle-23c:
image: container-registry.oracle.com/database/free:latest
ports:
- 1522:1521
env:
ORACLE_PWD: password
container:
image: ghcr.io/moveaxlab/oracle-devcontainer:latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: get dependencies
run: go mod download
- name: Test
continue-on-error: true
run: go test -v ./...