Skip to content

Commit

Permalink
Merge pull request #111 from jamesward/scala-ce3
Browse files Browse the repository at this point in the history
Scala CE3
  • Loading branch information
jamesward authored Feb 20, 2024
2 parents 8bd3abf + 668a213 commit bee2b66
Show file tree
Hide file tree
Showing 13 changed files with 2,275 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/scala-ce3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
workflow_run:
workflows: [scenario-server]
types: [completed]
push:
paths:
- scala-ce3/**
- .github/workflows/scala-ce3.yaml
pull_request:
paths:
- scala-ce3/**
- .github/workflows/scala-ce3.yaml

jobs:
test:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run == null || github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v3

- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
cache: 'sbt'

- run: ./sbt test
working-directory: ./scala-ce3
47 changes: 46 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,47 @@
.idea/
*.iml
*.iml

# bloop and metals
.bloop
.bsp
.metals
project/metals.sbt
**/project/metals.sbt

# vs code
.vscode

# scala 3
.tasty

# sbt
project/project/
project/target/
target/

# eclipse
build/
.classpath
.project
.settings
.worksheet
bin/
.cache

# intellij idea
*.log
*.iml
*.ipr
*.iws
.idea

# mac
.DS_Store

# other?
.history
.scala_dependencies
.cache-main

# general
*.class
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ docker run -it -p8080:8080 ghcr.io/jamesward/easyracer --debug
| [Swift + Combine](swift-combine) | 9/10 | [Jack Leow](https://github.com/jackgene) | Needs Scenario 10 Impl |
| [Elm](elm-worker) | 9/10 | [Jack Leow](https://github.com/jackgene) | Needs Scenario 10 Impl |
| [JavaScript](javascript-stdlib) | 9/10 | [James Ward](https://github.com/jamesward) | Needs Scenario 10 Impl |
| [Scala + Cats Effects 3](scala-ce3) | 9/10 | [Paul Snively](https://github.com/paul-snively) | Needs Scenario 10 Impl |
| [Python + HTTPX + Trio](python-httpx-trio) | 8/10 | [James Ward](https://github.com/jamesward) | Needs Scenarios 3, 10 |
| [Python + AIOHTTP](python-aiohttp) | 6/10 | [James Ward](https://github.com/jamesward) | Needs Scenarios 3, 4, 8, 10 |
| [Python + HTTPX + asyncio](python-httpx-asyncio) | 2/10 | [James Ward](https://github.com/jamesward) | Needs Scenarios 3-10 |
19 changes: 19 additions & 0 deletions scala-ce3/build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
scalaVersion := "2.13.12"

libraryDependencies ++= List(
"org.http4s" %% "http4s-ember-client" % "0.23.23",
"com.disneystreaming" %% "weaver-cats" % "0.8.1" % Test,
"com.dimafeng" %% "testcontainers-scala" % "0.40.12" % Test,
"ch.qos.logback" % "logback-classic" % "1.4.7" % Runtime,
)

testFrameworks += new TestFramework("weaver.framework.CatsEffect")

Test / fork := true

Test / run / javaOptions ++= Seq(
"-Xms256M", "-Xmx2G", "-XX:MaxPermSize=1024M", "-XX:+UseConcMarkSweepGC")

Test / envVars := Map("TESTCONTAINERS_RYUK_DISABLED" -> "true")


1 change: 1 addition & 0 deletions scala-ce3/project/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sbt.version=1.9.8
2 changes: 2 additions & 0 deletions scala-ce3/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
addSbtPlugin("com.github.tkawachi" % "sbt-repeat" % "0.1.0")
addDependencyTreePlugin
Loading

0 comments on commit bee2b66

Please sign in to comment.