updated job name

This commit is contained in:
neha-Gupta1 2023-03-30 18:46:15 +05:30
parent a9e829905d
commit eb217d5ba5
2 changed files with 6 additions and 7 deletions

View File

@ -5,7 +5,6 @@ on:
jobs: jobs:
SetM365App: SetM365App:
environment: Testing
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs: outputs:
client_app_slot: ${{ steps.roundrobin.outputs.CLIENT_APP_SLOT }} client_app_slot: ${{ steps.roundrobin.outputs.CLIENT_APP_SLOT }}

View File

@ -1,4 +1,4 @@
name: EndToEnd Test name: Nightly Test
env: env:
IMAGE_NAME: ghcr.io/alcionai/corso IMAGE_NAME: ghcr.io/alcionai/corso
on: on:
@ -52,7 +52,7 @@ jobs:
go-version-file: src/go.mod go-version-file: src/go.mod
# SetM365App will decide which M365 app to use for this CI run # SetM365App will decide which M365 app to use for this CI run
SetM365App: SetM365AppForNightlyTest:
uses: alcionai/corso/.github/workflows/_setup_m365_app.yml uses: alcionai/corso/.github/workflows/_setup_m365_app.yml
SetEnv: SetEnv:
@ -80,7 +80,7 @@ jobs:
# ---------------------------------------------------------------------------------------------------- # ----------------------------------------------------------------------------------------------------
Test-Suite-Trusted: Test-Suite-Trusted:
needs: [Precheck, Checkout, SetM365App] needs: [Precheck, Checkout, SetM365AppForNightlyTest]
environment: Testing environment: Testing
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main') || (needs.precheck.outputs.srcfileschanged == 'true' && github.event.pull_request.head.repo.full_name == github.repository) if: (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main') || (needs.precheck.outputs.srcfileschanged == 'true' && github.event.pull_request.head.repo.full_name == github.repository)
@ -89,9 +89,9 @@ jobs:
working-directory: src working-directory: src
env: env:
# Resolve the name of the secret that contains the Azure client ID/secret # Resolve the name of the secret that contains the Azure client ID/secret
AZURE_CLIENT_ID_NAME: ${{ needs.SetM365App.outputs.client_id_env }} AZURE_CLIENT_ID_NAME: ${{ needs.SetM365AppForNightlyTest.outputs.client_id_env }}
AZURE_CLIENT_SECRET_NAME: ${{ needs.SetM365App.outputs.client_secret_env }} AZURE_CLIENT_SECRET_NAME: ${{ needs.SetM365AppForNightlyTest.outputs.client_secret_env }}
CLIENT_APP_SLOT: ${{ needs.SetM365App.outputs.client_app_slot }} CLIENT_APP_SLOT: ${{ needs.SetM365AppForNightlyTest.outputs.client_app_slot }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3