Skip to content

Commit

Permalink
ci: integration
Browse files Browse the repository at this point in the history
  • Loading branch information
bnayae committed Dec 28, 2023
1 parent 5fa2a4c commit a016553
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build-publish-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ jobs:
name: build
runs-on: ubuntu-latest

services:
mssql:
image: redislabs/rejson:latest
# env:
# PASSWORD: ${{ secrets.NUGET_PUBLISH }}
ports:
- 6379:6379

steps:
- uses: actions/checkout@v2

Expand All @@ -38,9 +46,13 @@ jobs:
run: dotnet restore /property:Configuration=${{ env.BUILD_CONFIG }}
- name: Build
run: dotnet build --configuration ${{ env.BUILD_CONFIG }} --no-restore
- name: Test

- name: Unit Test
run: dotnet test Tests/EventSourcing.Backbone.UnitTests --configuration ${{ env.BUILD_CONFIG }} --no-restore --no-build --verbosity normal

- name: Integration Test
run: dotnet test Tests/EventSourcing.Backbone.IntegrationTests --configuration ${{ env.BUILD_CONFIG }} --no-restore --no-build --verbosity normal

- name: Push generated package to GitHub registry
run: dotnet nuget push ./**/*.nupkg -k ${{ secrets.NUGET_PUBLISH }} -s https://api.nuget.org/v3/index.json --skip-duplicate

Expand Down

0 comments on commit a016553

Please sign in to comment.