@@ -23,6 +23,7 @@ name: ci-build
2323
2424env :
2525 REGISTRY : ghcr.io
26+ DOTNET_VERSION : 9.0.x
2627
2728jobs :
2829
@@ -34,27 +35,22 @@ jobs:
3435 matrix :
3536 include :
3637 - name : common-unit
37- dockerfile : docker/Base.Dockerfile
38- image : test-common
39- target : test-common
38+ project : Common.Tests/Common.Tests.csproj
4039 - name : api-integration
41- dockerfile : docker/API.Dockerfile
42- image : api-integration-tests
43- target : integration-test-api
40+ project : API.IntegrationTests/API.IntegrationTests.csproj
4441
4542 steps :
4643 - name : Checkout
4744 uses : actions/checkout@v5
4845
49- - name : Set up Docker Buildx
50- uses : docker/setup-buildx-action@v3
46+ - uses : actions/setup-dotnet@v5
47+ with :
48+ dotnet-version : ' ${{ env.DOTNET_VERSION }}'
5149
5250 - name : Run ${{ matrix.name }} tests
53- uses : ./.github/actions/test-app
54- with :
55- dockerfile : ${{ matrix.dockerfile }}
56- image : ${{ matrix.image }}
57- target : ${{ matrix.target }}
51+ run : |
52+ set -euo pipefail
53+ dotnet test -c Release ${{ matrix.project }}
5854
5955 build :
6056 name : Build (${{ matrix.image }})
@@ -116,7 +112,7 @@ jobs:
116112 username : ${{ github.actor }}
117113 password : ${{ secrets.GITHUB_TOKEN }}
118114
119- - name : Build ${{ matrix.image }}
115+ - name : Promote Manifest ${{ matrix.image }}
120116 uses : ./.github/actions/promote-image
121117 with :
122118 image : ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ matrix.image }}
0 commit comments