-
Notifications
You must be signed in to change notification settings - Fork 615
32 lines (26 loc) · 992 Bytes
/
performance.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Performance Tests
on: [push, pull_request]
jobs:
applications:
name: Performance Tests ${{ matrix.java-version }}
strategy:
matrix:
os: [ubuntu-latest]
java-version: [11]
runs-on: ${{ matrix.os }}
steps:
- name: Git Checkout
uses: actions/checkout@v4
- name: Set Maven Wrapper
run: mvn -N wrapper:wrapper -Dmaven=3.6.3 --no-transfer-progress
- name: Set JDK ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: ${{ matrix.java-version }}
- name: Performance Tests
run: ./mvnw install --projects performance-tests --also-make --activate-profiles all -DskipTests=true --no-transfer-progress
env:
MAVEN_OPTS: "-Xmx1g"