IT #1220
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: IT | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 6 * * *' | |
env: | |
SCREENSHOT_DIRECTORY: '/tmp/pf_it/' | |
permissions: | |
contents: read | |
jobs: | |
nightly: | |
if: github.repository == 'primefaces/primefaces' && github.ref == 'refs/heads/master' | |
runs-on: ubuntu-20.04 | |
name: Java ${{ matrix.java }}, ${{ matrix.profile }} | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [11, 17, 21] | |
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@v4 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
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 }} | |
- name: Upload failure-screenshots | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: failed_tests_screenshots_java${{ matrix.java }}_${{ matrix.profile }} | |
if-no-files-found: ignore | |
path: /tmp/pf_it/ |