Skip to content

Commit

Permalink
Test itest in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sake92 committed Aug 16, 2024
1 parent e7e6a22 commit 3d5e7c1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- run: ./mill squery.test
#TODO - run: ./mill mill-plugin-itest
- run: ./mill mill-plugin-itest

publish:
needs: test
Expand Down
11 changes: 10 additions & 1 deletion mill-plugin-itest/src/h2/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,18 @@ object root extends ScalaModule with SqueryGeneratorModule with FlywayModule {
def ivyDeps = Agg(
ivy"com.zaxxer:HikariCP:4.0.3",
ivy"com.h2database:h2:2.3.232",
ivy"ba.sake::squery:0.3.0-8-a20b4a-DIRTY8921b651-SNAPSHOT"
ivy"ba.sake::squery:0.3.0-10-e7e6a2-SNAPSHOT" // TODO remove after https://github.com/lefou/mill-integrationtest/issues/198
)

// TODO remove after https://github.com/lefou/mill-integrationtest/issues/198
def repositoriesTask = T.task {
super
.repositoriesTask()
.appended(
coursier.maven.MavenRepository("https://oss.sonatype.org/content/repositories/snapshots")
)
}

def flywayDriverDeps = Agg(ivy"com.h2database:h2:2.3.232")
def flywayUrl = "jdbc:h2:./h2_pagila"

Expand Down

0 comments on commit 3d5e7c1

Please sign in to comment.