Skip to content

Commit

Permalink
Merge pull request #362 from nafg/ci-sbt--docker-compose-v2
Browse files Browse the repository at this point in the history
ci.sbt: docker compose V2
  • Loading branch information
nafg authored Aug 16, 2024
2 parents 510c94f + 1b9b0fd commit 4cf93ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
run: sbt '++ ${{ matrix.scala }}' githubWorkflowCheck

- name: Start databases
run: docker-compose up -d mysql postgres
run: docker compose up -d mysql postgres

- name: Build project
run: sbt '++ ${{ matrix.scala }}' -Dslick.testkit-config=test-dbs/testkit-github.conf test
Expand Down
2 changes: 1 addition & 1 deletion ci.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ inThisBuild(List(
githubWorkflowJavaVersions := Seq(JavaSpec.temurin("11")),
githubWorkflowTargetTags ++= Seq("v*"),
githubWorkflowBuild := Seq(
WorkflowStep.Run(List("docker-compose up -d mysql postgres"), name = Some("Start databases")),
WorkflowStep.Run(List("docker compose up -d mysql postgres"), name = Some("Start databases")),
WorkflowStep.Sbt(List("-Dslick.testkit-config=test-dbs/testkit-github.conf", "test"), name = Some("Build project"))
),
githubWorkflowPublishTargetBranches := Seq(RefPredicate.StartsWith(Ref.Tag("v"))),
Expand Down

0 comments on commit 4cf93ae

Please sign in to comment.