-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathazure-functions-smoke-tests.yml
More file actions
45 lines (37 loc) · 1 KB
/
azure-functions-smoke-tests.yml
File metadata and controls
45 lines (37 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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