Get the End to End Tests running automatically. #301
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and Test | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| env: | |
| DOTNET_NOLOGO: true | |
| DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | |
| DOTNET_CLI_TELEMETRY_OPTOUT: true | |
| NUGET_AUTH_TOKEN: ${{secrets.PUBLISH_TO_NUGET_ORG}} | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: pwsh | |
| steps: | |
| - run: echo "π The job was automatically triggered by a ${{ github.event_name }} event." | |
| - run: echo "π§ This job is now running on a ${{ runner.os }} server hosted by GitHub!" | |
| - run: echo "π The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | |
| - name: Check out repository code | |
| uses: actions/checkout@v4 | |
| - run: echo "π‘ The ${{ github.repository }} repository has been cloned to the runner." | |
| - name: Run Build and Test Script | |
| run: ./.github/workflows/build-and-test.ps1 | |
| working-directory: ${{ github.workspace }} | |
| # End to End Tests | |
| - name: Run End-to-End Tests | |
| run: ./RunE2ETests.ps1 | |
| working-directory: ${{ github.workspace }} | |
| env: | |
| UseHttp: "true" | |
| - run: echo "π This job's status is ${{ job.status }}." |