Skip to content

Commit

Permalink
Ble det ok?
Browse files Browse the repository at this point in the history
  • Loading branch information
steinho committed Mar 25, 2024
1 parent fc31931 commit e1fdf0d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,15 @@ jobs:
- name: Build with dotnet
run: dotnet build --configuration Release
- name: Run tests
run: dotnet test Nbic.References.Tests/Nbic.References.Tests.csproj -- MaxCpuCount=1
run: dotnet test --no-restore --verbosity normal --logger "trx;LogFileName=test-results.trx" Nbic.References.Tests/Nbic.References.Tests.csproj -- MaxCpuCount=1 || True
- name: Test Report
uses: dorny/test-reporter@v1
if: always()
with:
name: DotNET Tests
path: "**/test-results.trx"
reporter: dotnet-trx
fail-on-error: true
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand All @@ -32,7 +40,7 @@ jobs:
uses: docker/build-push-action@v5
# if: github.event.pull_request.merged == 'true' && ${{ github.actor != 'dependabot[bot]' }}
with:
context: ./src
# context: ./src
file: ./Nbic.References/Dockerfile
tags: artsdatabanken/nbicreferences:latest
push: true

0 comments on commit e1fdf0d

Please sign in to comment.