Skip to content

Commit

Permalink
test using dotnet retest
Browse files Browse the repository at this point in the history
  • Loading branch information
ReubenBond committed Feb 10, 2025
1 parent 715c982 commit 71ef6ef
Showing 1 changed file with 45 additions and 23 deletions.
68 changes: 45 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
Expand Down Expand Up @@ -52,14 +52,16 @@ jobs:
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.0.x
- name: Install tools
run: dotnet tool update -g dotnet-retest
- name: Test
run: dotnet test
run: dotnet retest --
--framework ${{ matrix.framework }}
--filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)"
--blame-hang-timeout 10m
Expand Down Expand Up @@ -87,14 +89,16 @@ jobs:
dbversion: ["3.11", "4.0", "4.1", "5.0"]
framework: [net8.0]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.0.x
- name: Install tools
run: dotnet tool update -g dotnet-retest
- name: Test
run: dotnet test
run: dotnet retest --
--framework ${{ matrix.framework }}
--filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Clustering)"
--blame-hang-timeout 10m
Expand Down Expand Up @@ -134,14 +138,16 @@ jobs:
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.0.x
- name: Install tools
run: dotnet tool update -g dotnet-retest
- name: Test
run: dotnet test
run: dotnet retest --
--framework ${{ matrix.framework }}
--filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)"
--blame-hang-timeout 10m
Expand Down Expand Up @@ -177,14 +183,16 @@ jobs:
# [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="False positive")]
MARIADB_ROOT_PASSWORD: "mariadb"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.0.x
- name: Install tools
run: dotnet tool update -g dotnet-retest
- name: Test
run: dotnet test
run: dotnet retest --
--framework ${{ matrix.framework }}
--filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)"
--blame-hang-timeout 10m
Expand Down Expand Up @@ -222,14 +230,16 @@ jobs:
# [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="False positive")]
SA_PASSWORD: "yourWeak(!)Password"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.0.x
- name: Install tools
run: dotnet tool update -g dotnet-retest
- name: Test
run: dotnet test
run: dotnet retest --
--framework ${{ matrix.framework }}
--filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)"
--blame-hang-timeout 10m
Expand Down Expand Up @@ -264,14 +274,16 @@ jobs:
- 10001:10001
- 10002:10002
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.0.x
- name: Install tools
run: dotnet tool update -g dotnet-retest
- name: Test
run: dotnet test
run: dotnet retest --
--filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)"
--framework ${{ matrix.framework }}
--blame-hang-timeout 10m
Expand Down Expand Up @@ -302,12 +314,14 @@ jobs:
framework: ["net8.0"]
provider: ["Cosmos"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.0.x
- name: Install tools
run: dotnet tool update -g dotnet-retest
# - name: Install emulator certificate
# run: |
# sleep 90s
Expand All @@ -325,7 +339,7 @@ jobs:
$IPAddress = "127.0.0.1" #(Get-NetIPAddress -AddressFamily IPV4 -AddressState Preferred -PrefixOrigin Manual | Select-Object IPAddress -First 1).IPAddress ?? "127.0.0.1"
Add-Content -Path $env:GITHUB_ENV -Value "ORLEANSCOSMOSDBACCOUNTENDPOINT=https://$($IPAddress):8081/"
- name: Test
run: dotnet test
run: dotnet retest --
--framework ${{ matrix.framework }}
--filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)"
--blame-hang-timeout 10m
Expand Down Expand Up @@ -362,14 +376,16 @@ jobs:
- 8600:8600/tcp
- 8600:8600/udp
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.0.x
- name: Install tools
run: dotnet tool update -g dotnet-retest
- name: Test
run: dotnet test
run: dotnet retest --
--framework ${{ matrix.framework }}
--filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)"
--blame-hang-timeout 10m
Expand Down Expand Up @@ -406,14 +422,16 @@ jobs:
env:
ALLOW_ANONYMOUS_LOGIN: "yes"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.0.x
- name: Install tools
run: dotnet tool update -g dotnet-retest
- name: Test
run: dotnet test
run: dotnet retest --
--framework ${{ matrix.framework }}
--filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)"
--blame-hang-timeout 10m
Expand Down Expand Up @@ -451,14 +469,16 @@ jobs:
AWS_SECRET_ACCESS_KEY: pass
AWS_REGION: us-east-1
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.0.x
- name: Install tools
run: dotnet tool update -g dotnet-retest
- name: Test
run: dotnet test
run: dotnet retest --
--framework ${{ matrix.framework }}
--filter "Category=${{ matrix.provider }}&(Category=BVT|Category=SlowBVT|Category=Functional)"
--blame-hang-timeout 10m
Expand Down Expand Up @@ -490,16 +510,18 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
framework: [net8.0]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.0.x
- name: Install tools
run: dotnet tool update -g dotnet-retest
- name: Build
run: dotnet build
- name: Test
run: dotnet test
run: dotnet retest --
--framework ${{ matrix.framework }}
--filter "Category=${{ matrix.suite }}"
--blame-hang-timeout 10m
Expand Down

0 comments on commit 71ef6ef

Please sign in to comment.