Update drone.yml

This commit is contained in:
Lunny Xiao 2021-07-21 13:25:48 +08:00
parent 368935ad98
commit c7f3c3cae9
1 changed files with 5 additions and 19 deletions

View File

@ -403,6 +403,10 @@ kind: pipeline
name: test-oracle name: test-oracle
depends_on: depends_on:
- test-cockroach - test-cockroach
trigger:
ref:
- refs/heads/master
- refs/pull/*/head
steps: steps:
- name: test-oracle - name: test-oracle
pull: never pull: never
@ -418,25 +422,7 @@ steps:
TEST_CACHE_ENABLE: false TEST_CACHE_ENABLE: false
commands: commands:
- make test-oracle - make test-oracle
- TEST_ORACLE_SCHEMA=xorm make test-oracle
- name: test-oracle-schema
pull: never
image: golang:1.15
depends_on:
- test-oracle
volumes:
- name: cache
path: /go/pkg/mod
environment:
TEST_ORACLE_SCHEMA: xorm
TEST_ORACLE_HOST: oracle:1521
TEST_ORACLE_DBNAME: xe
TEST_ORACLE_USERNAME: system
TEST_ORACLE_PASSWORD: oracle
TEST_CACHE_ENABLE: true
SCHEMA: xorm
commands:
- make test-oracle
volumes: volumes:
- name: cache - name: cache