Skip to content

Commit

Permalink
optimize pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
psych0d0g committed Dec 19, 2023
1 parent 1513d18 commit f92ff1d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .woodpecker/test_changes.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
when:
branch: ${CI_REPO_DEFAULT_BRANCH}
event: [push, pull_request]
event: [pull_request]
services:
database-mysql:
image: mysql
Expand All @@ -19,10 +19,12 @@ services:
- 5432
steps:
prepare_mysql_database:
group: db_prep
image: mysql
commands:
- test/prepare_mysql.sh
prepare_postgresql_database:
group: db_prep
image: postgres
commands:
- test/prepare_postgresql.sh
Expand All @@ -32,8 +34,13 @@ steps:
image: golang:1.21.5
commands:
- ./build.sh
test-authentication:
test-authentication-pgsql:
group: test_auth
image: golang:1.21.5
commands:
- test/test_pgsql_pw.sh
test-authentication-mysql:
group: test_auth
image: golang:1.21.5
commands:
- test/test_mysql_pw.sh

0 comments on commit f92ff1d

Please sign in to comment.