Skip to content

Commit

Permalink
Nightly pekko 1.1 tests (#181)
Browse files Browse the repository at this point in the history
* run nightly pekko 1.1 tests

* Update nightly-pekko-1.1-tests.yml

* -D on wrong yml

* run at 4am
  • Loading branch information
pjfanning committed Apr 25, 2024
1 parent 8e170c2 commit 015ddd3
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
push:
branches:
- main
- migration-tool # remove before merging to main
tags-ignore: [ v.* ]

jobs:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/h2-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
push:
branches:
- main
- migration-tool # remove before merging to main
tags-ignore: [ v.* ]

jobs:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/mysql-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
push:
branches:
- main
- migration-tool # remove before merging to main
tags-ignore: [ v.* ]

jobs:
Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/nightly-pekko-1.1-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Nightly Testing with Pekko 1.1

permissions: {}

on:
schedule:
- cron: "0 4 * * *"
workflow_dispatch:

jobs:
test:
name: Build and Test
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
include:
- { java-version: 8, scala-version: 2.12, sbt-opts: '' }
- { java-version: 8, scala-version: 2.13, sbt-opts: '' }
- { java-version: 8, scala-version: 3.3, sbt-opts: '' }
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Checkout GitHub merge
if: github.event.pull_request
run: |-
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch
git checkout scratch
- name: Setup JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.java-version }}

- name: Cache Coursier cache
uses: coursier/cache-action@v6

- name: Run tests with Scala ${{ matrix.scala-version }} and Java ${{ matrix.java-version }}
run: sbt -Dpekko.build.pekko.version=main "++${{ matrix.scala-version }} test" ${{ matrix.sbt-opts }}

- name: Print logs on failure
if: ${{ failure() }}
run: find . -name "*.log" -exec ./scripts/cat-log.sh {} \;
1 change: 0 additions & 1 deletion .github/workflows/oracle-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
push:
branches:
- main
- migration-tool # remove before merging to main
tags-ignore: [ v.* ]

jobs:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/postgres-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
push:
branches:
- main
- migration-tool # remove before merging to main
tags-ignore: [ v.* ]

jobs:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/sqlserver-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
push:
branches:
- main
- migration-tool # remove before merging to main
tags-ignore: [ v.* ]

jobs:
Expand Down
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ sourceDistIncubating := false

val mimaCompareVersion = "1.0.0"

ThisBuild / resolvers += Resolver.ApacheMavenSnapshotsRepo
ThisBuild / reproducibleBuildsCheckResolver := Resolver.ApacheMavenStagingRepo

lazy val `pekko-persistence-jdbc` = project
Expand Down

0 comments on commit 015ddd3

Please sign in to comment.