Skip to content

Commit 6fec720

Browse files
Merge pull request #249 from TransactionProcessing/task/#248_workflow_changes
Remove unit tests from release, add trace log uploads
2 parents 673932a + b6d56ba commit 6fec720

3 files changed

Lines changed: 10 additions & 7 deletions

File tree

.github/workflows/createrelease.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,6 @@ jobs:
2424
- name: Build Code
2525
run: dotnet build CallbackHandler.sln --configuration Release
2626

27-
- name: Run Unit Tests
28-
run: |
29-
echo "ASPNETCORE_ENVIRONMENT is > ${ASPNETCORE_ENVIRONMENT}"
30-
dotnet test "CallbackHandler.BusinessLogic.Tests/CallbackHandler.BusinessLogic.Tests.csproj"
31-
dotnet test "CallbackHandler.CallbackMessageAggregate.Tests/CallbackHandler.CallbackMessageAggregate.Tests.csproj"
32-
dotnet test "CallbackHandler.Tests/CallbackHandler.Tests.csproj"
33-
3427
- name: Publish Docker Image - Pre Release
3528
if: ${{ github.event.release.prerelease == true }}
3629
run: |

.github/workflows/nightlybuild.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ jobs:
3737

3838
- name: Run Integration Tests
3939
run: dotnet test "CallbackHandler.IntegrationTests\CallbackHandler.IntegrationTests.csproj"
40+
41+
- uses: actions/upload-artifact@v4.4.0
42+
with:
43+
name: tracelogs
44+
path: /home/runner/trace/
4045

4146
- uses: dacbd/create-issue-action@main
4247
if: ${{ failure() }}

.github/workflows/pullrequest.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ jobs:
3535
- name: Run Integration Tests
3636
run: dotnet test "CallbackHandler.IntegrationTests\CallbackHandler.IntegrationTests.csproj" --configuration Release --no-build --verbosity normal --logger "trx;LogFileName=integration-test-results.trx"
3737

38+
- uses: actions/upload-artifact@v4.4.0
39+
with:
40+
name: tracelogs
41+
path: /home/runner/trace/
42+
3843
- name: Publish test results
3944
uses: dorny/test-reporter@v1
4045
if: always()

0 commit comments

Comments
 (0)