Skip to content

Commit

Permalink
trying to remove all resolvers
Browse files Browse the repository at this point in the history
  • Loading branch information
Roiocam committed Jun 4, 2024
1 parent b476c3a commit f963bb9
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/nightly-pekko.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Nightly Build and Test

on:
pull_request:
branches: ['**']
workflow_dispatch:
schedule:
- cron: "0 2 * * *"

permissions: {}

Expand Down Expand Up @@ -50,14 +51,11 @@ jobs:
run: sbt -Dpekko.build.pekko.version=${{ matrix.PEKKO_VERSION }} "++ ${{ matrix.SCALA_VERSION }}" Test/compile

- name: Run all tests JDK ${{ matrix.JDK }}, Scala ${{ matrix.SCALA_VERSION }}, Pekko ${{ matrix.PEKKO_VERSION }}
run: sbt -Dpekko.build.pekko.version=${{ matrix.PEKKO_VERSION }} "++${{ matrix.SCALA_VERSION }} test"
run: sbt -Dpekko.build.pekko.version=${{ matrix.PEKKO_VERSION }} "++ ${{ matrix.SCALA_VERSION }} test"

- name: Upload test results
uses: actions/upload-artifact@v4 # upload test results
if: success() || failure() # run this step even if the previous step failed
with:
name: test-results-${{ matrix.JDK }}-${{ matrix.SCALA_VERSION }}-${{ matrix.PEKKO_VERSION }}
path: '**/target/test-reports/*.xml'
- name: Print logs on failure
if: ${{ failure() }}
run: find . -name "*.log" -exec ./scripts/cat-log.sh {} \;
integration-test:
name: Integration tests
runs-on: ubuntu-22.04
Expand All @@ -81,6 +79,12 @@ jobs:
- name: Cache Coursier cache
uses: coursier/cache-action@v6

- name: Cache Build Target
uses: actions/cache@v4
with:
path: project/**/target
key: build-target-${{ hashFiles('**/*.sbt', 'project/build.properties', 'project/**/*.scala') }}

- name: Compile everything
run: sbt -Dpekko.build.pekko.version=${{ matrix.PEKKO_VERSION }} "++ ${{ matrix.SCALA_VERSION }}" tests/IntegrationTest/compile

Expand Down
2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ lazy val tests = project
.settings(headerSettings(IntegrationTest))
.settings(
name := "pekko-connectors-kafka-tests",
resolvers ++= ResolverSettings.testSpecificResolvers,
libraryDependencies ++= Dependencies.testDependencies.value,
publish / skip := true,
Test / fork := true,
Expand All @@ -101,6 +102,7 @@ lazy val `java-tests` = project
.settings(commonSettings)
.settings(
name := "pekko-connectors-kafka-java-tests",
resolvers ++= ResolverSettings.testSpecificResolvers,
libraryDependencies ++= Dependencies.testDependencies.value,
libraryDependencies ++= Seq(
"org.junit.vintage" % "junit-vintage-engine" % JupiterKeys.junitVintageVersion.value % Test,
Expand Down
2 changes: 2 additions & 0 deletions project/ParadoxSettings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ import sbtlicensereport.SbtLicenseReport.autoImportImpl.dumpLicenseReportAggrega
object ParadoxSettings {

val themeSettings = Seq(
// allow access to snapshots for pekko-sbt-paradox
resolvers += "Apache Nexus Snapshots".at("https://repository.apache.org/content/repositories/snapshots/"),
pekkoParadoxGithub := Some("https://github.com/apache/pekko-connectors-kafka"))

val propertiesSettings = Seq(
Expand Down

0 comments on commit f963bb9

Please sign in to comment.