[RWRoute] Cleanup static router and RouterHelper #6048
Workflow file for this run
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: Build | |
on: | |
push: | |
pull_request: | |
env: | |
RAPIDWRIGHT_VERSION: v2024.1.2-beta | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
single_threaded: [multi-threaded, single-threaded] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b | |
- name: Setup JDK 1.11 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
cache: 'gradle' | |
- name: Setup Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Cache Jars & Data | |
id: cache-rapidwright | |
uses: actions/cache@v2 | |
with: | |
path: | | |
data | |
key: rapidwright-clouddata-v2-${{ env.RAPIDWRIGHT_VERSION }} | |
- name: Install Python Dependencies | |
run: | | |
pip install pytest python/ | |
- name: Compile | |
run: ./gradlew assemble | |
- name: Test | |
run: ./gradlew -PlimitToSingleProc=${{ matrix.single_threaded }} test | |
- name: Archive Java Test Report | |
uses: actions/upload-artifact@v4 | |
if: always() && matrix.os == 'ubuntu-latest' | |
with: | |
name: Java Test Report ${{ matrix.single_threaded }} | |
path: build/reports/tests/testJava | |
- name: Upload Test Results | |
if: always() && matrix.os == 'ubuntu-latest' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Unit Test Results ${{ matrix.single_threaded }} | |
path: | | |
build/test-results/**/*.xml | |
- name: Terminate Gradle to allow caching | |
run: ./gradlew --stop | |