-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (36 loc) · 1.08 KB
/
performance.yml
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
name: "🏄 Performance"
on:
push:
tags: ["v[1-9]+.[0-9]+.[0-9]"]
pull_request:
branches: ["main"]
types: ["opened", "synchronize", "reopened"]
jobs:
test-performance:
name: 🏇 Performance Tests
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: 🔧 Use .NET Core 8.0 SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: 🔬 Test
uses: nick-fields/retry@v2
with:
timeout_minutes: 20
max_attempts: 5
retry_on: error
command: "dotnet test ./test/Tethos.PerformanceTests/\
Tethos.PerformanceTests.csproj
--configuration Release
--logger trx
--results-directory ./coverage
-- xunit.parallelizeAssembly=true"
- name: 📚 Artifact Test Results
uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: performance-test-results
path: coverage/*.trx