Issue #14937: Migrated section 3.2 Package Statement to follow chapter wise testing #533
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
##################################################################################### | |
# GitHub Action to test performance regression. | |
# | |
# Workflow starts when: | |
# 1) push to master | |
# 2) PR created or pushed | |
# | |
##################################################################################### | |
name: Check-Performance-Regression | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: '*' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
if: github.repository == 'checkstyle/checkstyle' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 11 | |
distribution: 'temurin' | |
- name: Checkout Pull Request Code | |
uses: actions/checkout@v4 | |
- name: Clone JDK 17 Repo | |
uses: actions/checkout@v4 | |
with: | |
repository: openjdk/jdk17 | |
path: ./.ci-temp/jdk17 | |
- name: Setup local maven cache | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: checkstyle-maven-cache-${{ hashFiles('**/pom.xml') }} | |
- name: Run performance test | |
run: | | |
./.ci/check-performance-regression.sh |