Skip to content

Nightly Test run (Jahia SN) #127

Nightly Test run (Jahia SN)

Nightly Test run (Jahia SN) #127

Workflow file for this run

name: Nightly Test run (Jahia SN)
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
integration-tests-sn:
name: Integration Tests (Jahia-SN)
runs-on: self-hosted
strategy:
fail-fast: false
timeout-minutes: 45
steps:
- uses: jahia/jahia-modules-action/helper@v2
- uses: KengoTODA/actions-setup-docker-compose@main
with:
version: '2.23.0'
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- uses: s4u/setup-maven-action@v1.10.0
with:
java-distribution: 'temurin'
java-version: 11
- uses: jahia/jahia-modules-action/integration-tests@v2
with:
module_id: graphql-dxm-provider
jahia_image: jahia/jahia-ee-dev:8-SNAPSHOT
incident_service: graphql-dxm-provider-JahiaSN
timeout_minutes: 20
testrail_project: GraphQL Core module
tests_manifest: provisioning-manifest-snapshot.yml
jahia_license: ${{ secrets.JAHIA_LICENSE_8X_FULL }}
should_use_build_artifacts: false
should_skip_testrail: false
github_artifact_name: gql-jahia-sn-${{ github.run_number }}
jahia_artifact_name: gql-jahia-sn-${{ github.run_number }}
bastion_ssh_private_key: ${{ secrets.BASTION_SSH_PRIVATE_KEY_JAHIACI }}
docker_username: ${{ secrets.DOCKERHUB_USERNAME }}
docker_password: ${{ secrets.DOCKERHUB_PASSWORD }}
nexus_username: ${{ secrets.NEXUS_USERNAME }}
nexus_password: ${{ secrets.NEXUS_PASSWORD }}
testrail_username: ${{ secrets.TESTRAIL_USERNAME }}
testrail_password: ${{ secrets.TESTRAIL_PASSWORD }}
incident_pagerduty_api_key: ${{ secrets.INCIDENT_PAGERDUTY_API_KEY }}
incident_pagerduty_reporter_email: ${{ secrets.INCIDENT_PAGERDUTY_REPORTER_EMAIL }}
incident_pagerduty_reporter_id: ${{ secrets.INCIDENT_PAGERDUTY_REPORTER_ID }}
incident_google_spreadsheet_id: ${{ secrets.INCIDENT_GOOGLE_SPREADSHEET_ID }}
incident_google_client_email: ${{ secrets.INCIDENT_GOOGLE_CLIENT_EMAIL }}
incident_google_api_key_base64: ${{ secrets.INCIDENT_GOOGLE_PRIVATE_KEY_BASE64 }}
zencrepes_secret: ${{ secrets.ZENCREPES_WEBHOOK_SECRET }}
- name: Test Report
uses: phoenix-actions/test-reporting@v12
id: test-report
if: success() || failure()
with:
name: Nightly GraphQL Tests
path: tests/artifacts/results/xml_reports/**/*.xml
reporter: java-junit
fail-on-error: 'false'
output-to: 'step-summary'