-
Notifications
You must be signed in to change notification settings - Fork 753
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify server reading rate and workflow
- Loading branch information
1 parent
e79f6e8
commit a61df02
Showing
4 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: RUN INTEGRATION TESTS ONLY | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
- nutcracker | ||
jobs: | ||
ubuntu_build: | ||
name: Build with integration tests only on Ubuntu | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 150 | ||
concurrency: | ||
group: ${{ github.head_ref }}-ubuntu | ||
cancel-in-progress: true | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '21.0.3' | ||
|
||
- name: Initialize sub-modules | ||
run: git submodule update --init | ||
|
||
- name: Cache Gradle packages | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-${{ github.sha }} | ||
restore-keys: ${{ runner.os }}-gradle | ||
|
||
- name: Build with Gradle | ||
env: | ||
packageUser: ${{ github.actor }} | ||
packagePAT: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
export DISPLAY=':99.0' | ||
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & | ||
./gradlew :jballerina-integration-test:test --no-build-cache --rerun-tasks | ||
--max-workers=2 --scan --no-daemon |
File renamed without changes.
File renamed without changes.
File renamed without changes.