Skip to content

Commit

Permalink
Try composite on self-hosted
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyzimarev committed Feb 11, 2024
1 parent 4a65311 commit 82511d6
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 11 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,31 @@ on:

jobs:
nuget:
# runs-on: self-hosted
runs-on: ubuntu-latest
runs-on: self-hosted
# runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
-
name: Setup Python
uses: actions/setup-python@v4
with:
fetch-depth: 0
python-version: 3.8
-
name: Setup .NET
uses: actions/setup-dotnet@v4
name: Checkout code
uses: actions/checkout@v3
with:
dotnet-version: '8.0'
fetch-depth: 0
# -
# name: Setup .NET
# uses: actions/setup-dotnet@v4
# with:
# dotnet-version: '8.0'
-
name: Run tests
run: dotnet test --framework net8.0
-
name: Publish test results
uses: EnricoMi/publish-unit-test-result-action@v2
uses: EnricoMi/publish-unit-test-result-action/composite@v2
if: always()
with:
files: |
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,22 @@ jobs:
runs-on: self-hosted

steps:
- uses: actions/checkout@v3
-
name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.8
-
name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
-
name: Run tests
run: dotnet test --framework net8.0
-
name: Publish test results
uses: EnricoMi/publish-unit-test-result-action@v2
uses: EnricoMi/publish-unit-test-result-action/composite@v2
if: always()
with:
files: |
Expand Down
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<PackageVersion Include="Npgsql" Version="$(NpgsqlVer)" />
<PackageVersion Include="Npgsql.DependencyInjection" Version="$(NpgsqlVer)" />
<PackageVersion Include="RabbitMQ.Client" Version="6.6.0" />
<PackageVersion Include="Microsoft.Data.SqlClient" Version="5.1.1" />
<PackageVersion Include="Microsoft.Data.SqlClient" Version="5.1.5" />
<PackageVersion Include="NEST" Version="7.17.5" />
<PackageVersion Include="Polly" Version="8.2.0" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
Expand Down

0 comments on commit 82511d6

Please sign in to comment.