Merge pull request #529 from playframework/mergify/bp/2.9.x/pr-526 #800
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check | |
on: | |
pull_request: | |
push: | |
branches: | |
- 2.9.x # Check branch after merge | |
concurrency: | |
# Only run once for latest commit per ref and cancel other (previous) runs. | |
group: ci-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
# check-code-style: | |
# name: Code Style | |
# uses: playframework/.github/.github/workflows/cmd.yml@v3 | |
# with: | |
# cmd: sbt validateCode | |
tests-akka-http: | |
name: Sbt Tests Akka HTTP | |
# needs: | |
# - "check-code-style" | |
uses: playframework/.github/.github/workflows/cmd.yml@v3 | |
with: | |
java: 17, 11 | |
scala: 2.13.x, 3.x | |
cmd: | | |
# sudo add-apt-repository -y ppa:ondrej/php && sudo apt-get -qq update && sudo apt-get install -y libsodium-dev # for secure session examples | |
./test.sh | |
tests-netty-http: | |
name: Sbt Tests Netty HTTP | |
# needs: | |
# - "check-code-style" | |
uses: playframework/.github/.github/workflows/cmd.yml@v3 | |
with: | |
java: 17, 11 | |
scala: 2.13.x, 3.x | |
cmd: | | |
./test.sh --netty | |
gradle-tests: | |
name: Gradle Tests | |
uses: playframework/.github/.github/workflows/cmd.yml@v3 | |
with: | |
java: 17, 11 | |
scala: 2.13.x, 3.x | |
cmd: | | |
./test-gradle.sh | |
finish: | |
name: Finish | |
if: github.event_name == 'pull_request' | |
needs: # Should be last | |
- "tests-akka-http" | |
- "tests-netty-http" | |
- "gradle-tests" | |
uses: playframework/.github/.github/workflows/rtm.yml@v3 |