Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .github/workflows/createrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@ jobs:
- name: Build Code
run: dotnet build MessagingService.sln --configuration Release

- name: Run Unit Tests
run: |
echo "ASPNETCORE_ENVIRONMENT are > ${ASPNETCORE_ENVIRONMENT}"
dotnet test "MessagingService.BusinessLogic.Tests\MessagingService.BusinessLogic.Tests.csproj"
dotnet test "MessagingService.EmailAggregate.Tests\MessagingService.EmailAggregate.Tests.csproj"
dotnet test "MessagingService.Tests\MessagingService.Tests.csproj"

- name: Publish Images to Docker Hub - Pre Release
if: ${{ github.event.release.prerelease == true }}
run: |
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/nightlybuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ jobs:
- name: Run Integration Tests
run: dotnet test "MessagingService.IntegrationTests\MessagingService.IntegrationTests.csproj"

- uses: actions/upload-artifact@v4.4.0
with:
name: tracelogs
path: /home/runner/trace/

- uses: dacbd/create-issue-action@main
if: ${{ failure() }}
name: Create an issue on build failure
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ jobs:
- name: Run Integration Tests
run: dotnet test "MessagingService.IntegrationTests\MessagingService.IntegrationTests.csproj" --filter Category=PRTest --configuration Release --no-build --verbosity normal --logger "trx;LogFileName=integration-test-results.trx"

- uses: actions/upload-artifact@v4.4.0
with:
name: tracelogs
path: /home/runner/trace/

- name: Publish test results
uses: dorny/test-reporter@v1
if: always()
Expand Down
1 change: 0 additions & 1 deletion MessagingService/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,4 @@ RUN dotnet publish "MessagingService.csproj" -c Release -o /app/publish
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
USER 10001
ENTRYPOINT ["dotnet", "MessagingService.dll"]
Loading