Skip to content

Clearer names

Clearer names #6443

Workflow file for this run

name: Build
on:
push:
pull_request:
env:
RAPIDWRIGHT_VERSION: v2024.1.3-beta
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
single_threaded: [multi-threaded, single-threaded]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup JDK 1.11
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
cache: 'gradle'
- name: Setup Python 3.7
uses: actions/setup-python@v5
with:
python-version: 3.7
- name: Cache Jars & Data
id: cache-rapidwright
uses: actions/cache@v4
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