Skip to content

Commit

Permalink
Remove commons-redis from test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
ddworak committed Dec 24, 2024
1 parent 6feaa16 commit b1a50d1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 34 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ on:

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REDIS_VERSION: 6.2.12

jobs:
build:
Expand Down Expand Up @@ -52,12 +51,6 @@ jobs:
- name: Setup sbt
uses: sbt/setup-sbt@v1

- name: Cache Redis
uses: actions/cache@v2
with:
path: ./redis-${{ env.REDIS_VERSION }}
key: ${{ runner.os }}-redis-cache-v2-${{ env.REDIS_VERSION }}

- name: Setup Node.js
uses: actions/setup-node@v2
with:
Expand All @@ -69,9 +62,6 @@ jobs:
mongodb-version: 7.0
mongodb-replica-set: test-rs

- name: Setup Redis
run: ./install-redis.sh

- name: Check that workflows are up to date
run: sbt '++ ${{ matrix.scala }}' githubWorkflowCheck

Expand Down
9 changes: 0 additions & 9 deletions install-redis.sh

This file was deleted.

16 changes: 1 addition & 15 deletions project/Commons.scala
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,9 @@ object Commons extends ProjectGroup("commons") {

githubWorkflowTargetTags ++= Seq("v*"),

githubWorkflowEnv ++= Map(
"REDIS_VERSION" -> "6.2.12",
),
githubWorkflowArtifactUpload := false,
githubWorkflowJavaVersions := Seq(JavaSpec.temurin("17"), JavaSpec.temurin("21")),
githubWorkflowBuildPreamble ++= Seq(
WorkflowStep.Use(
UseRef.Public("actions", "cache", "v2"),
name = Some("Cache Redis"),
params = Map(
"path" -> "./redis-${{ env.REDIS_VERSION }}",
"key" -> "${{ runner.os }}-redis-cache-v2-${{ env.REDIS_VERSION }}"
)
),
WorkflowStep.Use(
UseRef.Public("actions", "setup-node", "v2"),
name = Some("Setup Node.js"),
Expand All @@ -100,10 +89,6 @@ object Commons extends ProjectGroup("commons") {
"mongodb-replica-set" -> "test-rs",
)
),
WorkflowStep.Run(
List("./install-redis.sh"),
name = Some("Setup Redis"),
)
),

githubWorkflowPublishTargetBranches := Seq(RefPredicate.StartsWith(Ref.Tag("v"))),
Expand Down Expand Up @@ -338,6 +323,7 @@ object Commons extends ProjectGroup("commons") {
),
Test / parallelExecution := false,
Compile / scalacOptions += "-Wconf:cat=deprecation:is", // only inform about deprecations due to scheduled removal
Test / skip := true,
)

lazy val hocon = mkSubProject
Expand Down

0 comments on commit b1a50d1

Please sign in to comment.