diff --git a/.github/workflows/nightlybuild.yml b/.github/workflows/nightlybuild.yml index 1be865e1..62f1a812 100644 --- a/.github/workflows/nightlybuild.yml +++ b/.github/workflows/nightlybuild.yml @@ -16,6 +16,9 @@ jobs: steps: - uses: actions/checkout@v2.3.4 + - name: Set Up Variables + run: echo "action_url=$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" >> $GITHUB_ENV + - name: Trust Certificate run: | $certPath = "$env:GITHUB_WORKSPACE\Certificates\aspnetapp-root-cert.pfx" @@ -61,6 +64,15 @@ jobs: run: | dotnet test "SecurityService.OpenIdConnect.IntegrationTests\SecurityService.OpenIdConnect.IntegrationTests.csproj" --filter Category=PRTest + - uses: nashmaniac/create-issue-action@v1.1 + if: ${{ failure() }} + name: Create an issue on build failure + with: + title: Investigate Nightly Build Failure + token: ${{secrets.GITHUB_TOKEN}} + labels: nightlybuild + body: Url is ${{env.action_url}} + codecoverage: name: "Nightly Build - Code Coverage" env: diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index 0541252c..a834e780 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -41,11 +41,11 @@ jobs: run: | dotnet test "SecurityService.IntegrationTests\SecurityService.IntegrationTests.csproj" --filter Category=PRTest - - name: Run Integration Tests (UI Firefox) - env: - Browser: Firefox - run: | - dotnet test "SecurityService.OpenIdConnect.IntegrationTests\SecurityService.OpenIdConnect.IntegrationTests.csproj" --filter Category=PRTest + #- name: Run Integration Tests (UI Firefox) + # env: + # Browser: Firefox + # run: | + # dotnet test "SecurityService.OpenIdConnect.IntegrationTests\SecurityService.OpenIdConnect.IntegrationTests.csproj" --filter Category=PRTest - name: Run Integration Tests (UI Chrome) env: @@ -59,4 +59,4 @@ jobs: DriverPath: C:\\SeleniumWebDrivers\\EdgeDriver\\ DriverExe: msedgedriver.exe run: | - dotnet test "SecurityService.OpenIdConnect.IntegrationTests\SecurityService.OpenIdConnect.IntegrationTests.csproj" --filter Category=PRTest \ No newline at end of file + dotnet test "SecurityService.OpenIdConnect.IntegrationTests\SecurityService.OpenIdConnect.IntegrationTests.csproj" --filter Category=PRTest