Skip to content

Commit

Permalink
Disable testcontainers/ryuk in CI
Browse files Browse the repository at this point in the history
testcontainers/ryuk is a resource reaper used for cleaning things up
after tests complete. In CI we only run tests once after which the
VM is shut down. Ryuk fetching happens while creating a `CatsResource`
that is counted towards timeout. This can take a long time in CI and
rarely happens at dev time.
Therefore, for CI ryuk is now disabled.
  • Loading branch information
peel committed Mar 27, 2024
1 parent 0da0d50 commit 8b230ae
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,11 @@ jobs:
with:
java-version: 11

- name: Download test requirements
run: |
docker pull testcontainers/ryuk:0.5.1
docker pull localstack/localstack:2.3.2
- name: Check Scala formatting
run: sbt scalafmtSbtCheck scalafmtCheckAll

- name: Run tests
run: sbt clean +test
run: env TESTCONTAINERS_RYUK_DISABLED=true sbt clean +test

- name: Check binary compatibility
run: sbt mimaReportBinaryIssues
Expand Down

0 comments on commit 8b230ae

Please sign in to comment.