Fix nightly build action (#19)

This commit is contained in:
Sean Glover 2022-11-05 15:10:35 -04:00 committed by GitHub
parent 1ca5139f28
commit d0f28828dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,8 +7,8 @@ on:
jobs: jobs:
akka-cluster-metrics-sigar: pekko-cluster-metrics-sigar:
name: Akka Cluster Metrics Test with Sigar name: Pekko Cluster Metrics Test with Sigar
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
if: github.repository == 'apache/incubator-pekko' if: github.repository == 'apache/incubator-pekko'
steps: steps:
@ -43,14 +43,15 @@ jobs:
-Dmultinode.XX:+AlwaysActAsServerClassMachine \ -Dmultinode.XX:+AlwaysActAsServerClassMachine \
clean akka-cluster-metrics/test clean akka-cluster-metrics/test
- name: Test Reports # comment out test report until an apache or GitHub published action (action-surefire-report) can be found or added allowlist from INFRA
# Makes it easier to spot failures instead of looking at the logs. # - name: Test Reports
if: ${{ failure() }} # # Makes it easier to spot failures instead of looking at the logs.
uses: marcospereira/action-surefire-report@v1 # if: ${{ failure() }}
with: # uses: marcospereira/action-surefire-report@v1
report_paths: '**/target/test-reports/TEST-*.xml' # with:
fail_if_no_tests: false # report_paths: '**/target/test-reports/TEST-*.xml'
skip_publishing: true # fail_if_no_tests: false
# skip_publishing: true
# comment out email actions until we have an email address to use (and we need to get INFRA to whitelist dawidd6/action-send-mail) # comment out email actions until we have an email address to use (and we need to get INFRA to whitelist dawidd6/action-send-mail)
#- name: Email on failure #- name: Email on failure
@ -68,8 +69,8 @@ jobs:
# Job ${{ github.job }} in workflow ${{ github.workflow }} of ${{github.repository}} failed! # Job ${{ github.job }} in workflow ${{ github.workflow }} of ${{github.repository}} failed!
# https://github.com/${{github.repository}}/actions/runs/${{github.run_id}} # https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
akka-classic-remoting-tests: pekko-classic-remoting-tests:
name: Akka Classic Remoting Tests name: Pekko Classic Remoting Tests
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
if: github.repository == 'apache/incubator-pekko' if: github.repository == 'apache/incubator-pekko'
strategy: strategy:
@ -169,21 +170,22 @@ jobs:
${{ matrix.extraOpts }} \ ${{ matrix.extraOpts }} \
clean "+~ ${{ matrix.scalaVersion }} test" checkTestsHaveRun clean "+~ ${{ matrix.scalaVersion }} test" checkTestsHaveRun
- name: Test Reports # comment out test report until an apache or GitHub published action (action-surefire-report) can be found or added allowlist from INFRA
# Makes it easier to spot failures instead of looking at the logs. # - name: Test Reports
if: ${{ failure() }} # # Makes it easier to spot failures instead of looking at the logs.
uses: marcospereira/action-surefire-report@v1 # if: ${{ failure() }}
with: # uses: marcospereira/action-surefire-report@v1
report_paths: '**/target/test-reports/TEST-*.xml' # with:
fail_if_no_tests: false # report_paths: '**/target/test-reports/TEST-*.xml'
# fail_if_no_tests: false
# Archive test results so we can do some diagnostics later # # Archive test results so we can do some diagnostics later
- name: Upload test results # - name: Upload test results
uses: actions/upload-artifact@v2 # uses: actions/upload-artifact@v2
if: success() || failure() # run this step even if previous step failed # if: success() || failure() # run this step even if previous step failed
with: # with:
name: test-results-${{ matrix.jdkVersion }}-${{ matrix.scalaVersion }} # name: test-results-${{ matrix.jdkVersion }}-${{ matrix.scalaVersion }}
path: '**/target/test-reports/TEST-*.xml' # path: '**/target/test-reports/TEST-*.xml'
- name: Docs - name: Docs
# Docs generation requires JDK 11. Checks with `startsWith` helps # Docs generation requires JDK 11. Checks with `startsWith` helps
@ -221,8 +223,8 @@ jobs:
# Job ${{ github.job }} in workflow ${{ github.workflow }} of ${{github.repository}} failed! # Job ${{ github.job }} in workflow ${{ github.workflow }} of ${{github.repository}} failed!
# https://github.com/${{github.repository}}/actions/runs/${{github.run_id}} # https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
akka-artery-aeron-tests: pekko-artery-aeron-tests:
name: Akka Artery Aeron Tests name: Pekko Artery Aeron Tests
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
if: github.repository == 'apache/incubator-pekko' if: github.repository == 'apache/incubator-pekko'
strategy: strategy: