Skip to content

Commit

Permalink
test: run codebuild against mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
karenc-bq committed Apr 12, 2024
1 parent a6474a6 commit e5e8ac5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/run-integration-tests-codebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches:
- main
- workflow
- workflow-mysql

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
engine_version: ["lts"]
environment: ["pg_integ"]
environment: ["mysql_integ"]
runs-on: codebuild-jdbcWrapper-${{ github.run_id }}-${{ github.run_attempt }}
environment: ${{ matrix.environment }}
steps:
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
echo "TEMP_AWS_SESSION_TOKEN=${creds[2]}" >> $GITHUB_ENV
- name: Run integration tests
run: |
./gradlew --no-parallel --no-daemon test-all-aurora
./gradlew --no-parallel --no-daemon test-all-mysql-aurora
env:
AURORA_CLUSTER_DOMAIN: ${{ secrets.DB_CONN_SUFFIX }}
AURORA_DB_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
Expand Down
2 changes: 1 addition & 1 deletion wrapper/src/test/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,5 @@ tasks.register<Test>("in-container") {

// modify below filter to select specific integration tests
// see https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/testing/TestFilter.html
filter.includeTestsMatching("integration.container.tests.AuroraFailoverTest")
filter.includeTestsMatching("integration.container.tests.*")
}

0 comments on commit e5e8ac5

Please sign in to comment.