Skip to content

Commit

Permalink
Add nightly-test job badge (intel-analytics#5750)
Browse files Browse the repository at this point in the history
* add create-job-status-badge action

* add selfHostedRunner input

* add create badge job

* change isSelfHostedRunner to is-self-hosted-runner

* update create-job-status-badge

* adjust indent

* update python-style-check and scala-style-check

* Update scala-style-check.yml

* Update python-style-check.yml

* Update nightly_test.yml
  • Loading branch information
Zephyr596 authored and ForJadeForest committed Sep 20, 2022
1 parent 8901b68 commit 20f773c
Showing 1 changed file with 123 additions and 22 deletions.
145 changes: 123 additions & 22 deletions .github/workflows/nightly_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@ jobs:
uses: ./.github/actions/maven-setup-action
- name: Run test
uses: ./.github/actions/orca-python-exampletest-action
- name: Create Job Badge
uses: ./.github/actions/create-job-status-badge
if: ${{ always() }}
with:
secret: ${{ secrets.GIST_SECRET}}
gist-id: 746dcada5746912c8d6808d71bd6c35b
is-self-hosted-runner: true
file-name: Orca-Python-ExampleTest-Py37-Spark3.json
type: job
job-name: Orca-Python-ExampleTest-Py37-Spark3


Orca-Python-ExampleTest-Ray-Py37-Spark3:
Expand All @@ -56,6 +66,16 @@ jobs:
uses: ./.github/actions/maven-setup-action
- name: Run test
uses: ./.github/actions/orca-python-exampletest-ray-action
- name: Create Job Badge
uses: ./.github/actions/create-job-status-badge
if: ${{ always() }}
with:
secret: ${{ secrets.GIST_SECRET}}
gist-id: 93d483f54b60396d8bbe7ab7a9317c4e
is-self-hosted-runner: true
file-name: Orca-Python-ExampleTest-Ray-Py37-Spark3.json
type: job
job-name: Orca-Python-ExampleTest-Ray-Py37-Spark3

Orca-Jep-ExampleTest-Py37-Spark2:
if: ${{ github.event.schedule || github.event.inputs.artifact == 'Orca-Jep-ExampleTest-Py37-Spark2' || github.event.inputs.artifact == 'all' }}
Expand All @@ -69,6 +89,16 @@ jobs:
uses: ./.github/actions/maven-setup-action
- name: Run test
uses: ./.github/actions/orca-jep-exampletest-action
- name: Create Job Badge
uses: ./.github/actions/create-job-status-badge
if: ${{ always() }}
with:
secret: ${{ secrets.GIST_SECRET}}
gist-id: 89232c5854a99a723765c3d5593f3bfe
is-self-hosted-runner: true
file-name: Orca-Jep-ExampleTest-Py37-Spark2.json
type: job
job-name: Orca-Jep-ExampleTest-Py37-Spark2

Orca-Python-Ray-Py37-Spark3:
if: ${{ github.event.schedule || github.event.inputs.artifact == 'Orca-Python-Ray-Py37-Spark3' || github.event.inputs.artifact == 'all' }}
Expand All @@ -82,6 +112,16 @@ jobs:
uses: ./.github/actions/maven-setup-action
- name: Run test
uses: ./.github/actions/orca-python-ray-py37-spark3-action
- name: Create Job Badge
uses: ./.github/actions/create-job-status-badge
if: ${{ always() }}
with:
secret: ${{ secrets.GIST_SECRET}}
gist-id: b9d4492a7eeaf4c2564ce4ef295d36f5
is-self-hosted-runner: true
file-name: Orca-Python-Ray-Py37-Spark3.json
type: job
job-name: Orca-Python-Ray-Py37-Spark3

Orca-Python-Py37-Spark3:
if: ${{ github.event.schedule || github.event.inputs.artifact == 'Orca-Python-Py37-Spark3' || github.event.inputs.artifact == 'all' }}
Expand All @@ -95,6 +135,16 @@ jobs:
uses: ./.github/actions/maven-setup-action
- name: Run test
uses: ./.github/actions/orca-python-py37-spark3-action
- name: Create Job Badge
uses: ./.github/actions/create-job-status-badge
if: ${{ always() }}
with:
secret: ${{ secrets.GIST_SECRET}}
gist-id: 10a49ea64c5e1d06eea5518dc24712cd
is-self-hosted-runner: true
file-name: Orca-Python-Py37-Spark3.json
type: job
job-name: Orca-Python-Py37-Spark3

Orca-Python-Horovod-Tf2-Py37-Spark3:
if: ${{ github.event.schedule || github.event.inputs.artifact == 'Orca-Python-Horovod-Tf2-Py37-Spark3' || github.event.inputs.artifact == 'all' }}
Expand All @@ -113,46 +163,86 @@ jobs:
- name: Remove Env
if: ${{ always() }}
uses: ./.github/actions/remove-env
- name: Create Job Badge
uses: ./.github/actions/create-job-status-badge
if: ${{ always() }}
with:
secret: ${{ secrets.GIST_SECRET}}
gist-id: 2778d46ee325dfcf27262bb5587c08fa
is-self-hosted-runner: true
file-name: Orca-Python-Horovod-Tf2-Py37-Spark3.json
type: job
job-name: Orca-Python-Horovod-Tf2-Py37-Spark3


Dllib-Scala-UT:
if: ${{ github.event.schedule || github.event.inputs.artifact == 'Dllib-Scala-UT' || github.event.inputs.artifact == 'all' }}
runs-on: [ self-hosted, Gondolin, ubuntu-20.04-lts ]

steps:
- uses: actions/checkout@v3
- name: Set up JDK8
uses: ./.github/actions/jdk-setup-action
- name: Set up maven
uses: ./.github/actions/maven-setup-action
- name: Run test
uses: ./.github/actions/dllib-scala-ut-action
- uses: actions/checkout@v3
- name: Set up JDK8
uses: ./.github/actions/jdk-setup-action
- name: Set up maven
uses: ./.github/actions/maven-setup-action
- name: Run test
uses: ./.github/actions/dllib-scala-ut-action
- name: Create Job Badge
uses: ./.github/actions/create-job-status-badge
if: ${{ always() }}
with:
secret: ${{ secrets.GIST_SECRET}}
gist-id: c52229602fb85cc8b6d757c04d565da8
is-self-hosted-runner: true
file-name: Dllib-Scala-UT.json
type: job
job-name: Dllib-Scala-UT

Friesian-Scala-UT:
if: ${{ github.event.schedule || github.event.inputs.artifact == 'Friesian-Scala-UT' || github.event.inputs.artifact == 'all' }}
runs-on: [ self-hosted, ubuntu-20.04-lts, CLX, AVX512, Ettenmoors ]

steps:
- uses: actions/checkout@v3
- name: Set up JDK8
uses: ./.github/actions/jdk-setup-action
- name: Set up maven
uses: ./.github/actions/maven-setup-action
- name: Run test
uses: ./.github/actions/friesian-scala-ut-action
- uses: actions/checkout@v3
- name: Set up JDK8
uses: ./.github/actions/jdk-setup-action
- name: Set up maven
uses: ./.github/actions/maven-setup-action
- name: Run test
uses: ./.github/actions/friesian-scala-ut-action
- name: Create Job Badge
uses: ./.github/actions/create-job-status-badge
if: ${{ always() }}
with:
secret: ${{ secrets.GIST_SECRET}}
gist-id: 9fa4633899a08528f35ed51a11963a1e
is-self-hosted-runner: true
file-name: Friesian-Scala-UT.json
type: job
job-name: Friesian-Scala-UT

PPML-Scala-UT:
if: ${{ github.event.schedule || github.event.inputs.artifact == 'PPML-Scala-UT' || github.event.inputs.artifact == 'all' }}
runs-on: [ self-hosted, Gondolin, ubuntu-20.04-lts ]

steps:
- uses: actions/checkout@v3
- name: Set up JDK8
uses: ./.github/actions/jdk-setup-action
- name: Set up maven
uses: ./.github/actions/maven-setup-action
- name: Run test
uses: ./.github/actions/ppml-scala-ut-action
- uses: actions/checkout@v3
- name: Set up JDK8
uses: ./.github/actions/jdk-setup-action
- name: Set up maven
uses: ./.github/actions/maven-setup-action
- name: Run test
uses: ./.github/actions/ppml-scala-ut-action
- name: Create Job Badge
uses: ./.github/actions/create-job-status-badge
if: ${{ always() }}
with:
secret: ${{ secrets.GIST_SECRET}}
gist-id: 6bcf97ad277d77344b88ddbefa2dd4ad
is-self-hosted-runner: true
file-name: PPML-Scala-UT.json
type: job
job-name: PPML-Scala-UT

Orca-Ray-Ctx-Example:
if: ${{ github.event.schedule || github.event.inputs.artifact == 'Orca-Ray-Ctx-Example' || github.event.inputs.artifact == 'all' }}
Expand All @@ -166,6 +256,17 @@ jobs:
uses: ./.github/actions/maven-setup-action
- name: Run test
uses: ./.github/actions/orca-ray-ctx-example-action
- name: Create Job Badge
uses: ./.github/actions/create-job-status-badge
if: ${{ always() }}
with:
secret: ${{ secrets.GIST_SECRET}}
gist-id: 98707847d2ca0e2aff40547673e9f7ab
is-self-hosted-runner: true
file-name: Orca-Ray-Ctx-Example.json
type: job
job-name: Orca-Ray-Ctx-Example


create-workflow-badge:
runs-on: ubuntu-latest
Expand All @@ -178,4 +279,4 @@ jobs:
secret: ${{ secrets.GIST_SECRET }}
gist-id: bc8a699b455bced4a1aef138ad5df07e
file-name: nightly-test.json
type: workflow
type: workflow

0 comments on commit 20f773c

Please sign in to comment.