Export History job #180
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: Azure Functions Smoke Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - 'feature/**' | |
| paths-ignore: [ '**.md' ] | |
| pull_request: | |
| paths-ignore: [ '**.md' ] | |
| workflow_dispatch: | |
| jobs: | |
| smoke-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v3 | |
| with: | |
| dotnet-version: '8.0.x' | |
| - name: Setup .NET from global.json | |
| uses: actions/setup-dotnet@v3 | |
| with: | |
| global-json-file: global.json | |
| - name: Restore dependencies | |
| run: dotnet restore test/AzureFunctionsSmokeTests/AzureFunctionsSmokeTests.csproj | |
| - name: Run smoke tests | |
| run: | | |
| cd test/AzureFunctionsSmokeTests | |
| pwsh -File run-smoketests.ps1 | |
| - name: Upload smoke test logs on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: smoke-test-logs | |
| path: test/AzureFunctionsSmokeTests/logs/ | |
| if-no-files-found: ignore |