forked from primefaces/primefaces
-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (30 loc) · 1.26 KB
/
nightly.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
32
33
34
name: IT
on:
schedule:
- cron: '0 6 * * *'
permissions:
contents: read
jobs:
nightly:
if: github.repository == 'primefaces/primefaces' && github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
name: Java ${{ matrix.java }}, ${{ matrix.profile }}
strategy:
fail-fast: false
matrix:
java: [8, 11, 17, 18]
profile: [ 'firefox,theme-saga,myfaces-2.3', 'firefox,csp,theme-saga,myfaces-2.3', 'chrome,theme-saga,myfaces-2.3', 'chrome,theme-saga,myfaces-next-2.3','chrome,csp,theme-nova,myfaces-2.3', 'chrome,csp,theme-nova,mojarra-2.3', 'chrome,client-state-saving,theme-nova,mojarra-2.3' ]
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Log github.ref
run: echo "${{ github.ref }}"
- name: Build
run: mvn clean install -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --batch-mode --show-version
- name: Integration Tests
run: mvn -B -V clean install -fprimefaces-integration-tests/pom.xml -Pintegration-tests,headless,${{ matrix.profile }}