Skip to content

Commit

Permalink
ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
rolang committed Nov 26, 2023
1 parent 5c953ce commit 348230c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:

- name: Install native dependencies (ubuntu)
if: (matrix.project == 'rootNative') && startsWith(matrix.os, 'ubuntu')
run: sudo apt update && sudo apt install libutf8proc-dev
run: sudo apt update && sudo apt install clang libutf8proc-dev -y

- name: Check that workflows are up to date
run: sbt githubWorkflowCheck
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ ThisBuild / tlCiHeaderCheck := true
ThisBuild / tlCiScalafixCheck := false
ThisBuild / githubWorkflowBuildPreamble ++= Seq(
WorkflowStep.Run(
commands = List("sudo apt update && sudo apt install libutf8proc-dev"),
commands = List("sudo apt update && sudo apt install clang libutf8proc-dev -y"),
cond = Some("(matrix.project == 'rootNative') && startsWith(matrix.os, 'ubuntu')"),
name = Some("Install native dependencies (ubuntu)"),
)
Expand Down Expand Up @@ -129,7 +129,7 @@ lazy val tests = crossProject(JVMPlatform, NativePlatform)
_.withEmbedResources(
// disabling embdedded resources for now in CI as it causes flaky tests.
// should remove once this is resolved: https://github.com/scala-native/scala-native/issues/2024
sys.env.get("CI").isEmpty
true // sys.env.get("CI").isEmpty
)
},
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ trait FTestPlatform extends CatsEffectSuite {

inline def dumboWithResources(path: String): DumboWithResourcesPartiallyApplied[IO] =
// using this to disable embdedded resources for now in CI as it causes flaky tests: https://github.com/scala-native/scala-native/issues/2024
if sys.env.get("CI").isEmpty then Dumbo.withResourcesIn(path)
else Dumbo.withFilesIn(Path("modules/tests/shared/src/test/resources") / path)
Dumbo.withResourcesIn(path)
// if sys.env.get("CI").isEmpty then Dumbo.withResourcesIn(path)
// else Dumbo.withFilesIn(Path("modules/tests/shared/src/test/resources") / path)

def dumboWithFiles(path: Path): DumboWithResourcesPartiallyApplied[IO] = Dumbo.withFilesIn(path)
}

0 comments on commit 348230c

Please sign in to comment.