Skip to content

Commit

Permalink
moved printing event log after tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Medek authored and Martin Medek committed Nov 18, 2024
1 parent 8652396 commit 5c5e92f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,6 @@ jobs:
dotnet build
bin\Debug\net8.0\playwright.ps1 install --with-deps
- name: Print event log
run: |
sqlcmd -S "${{ env.SQLSERVER_NAME}}" -U '${{ env.DB_USER}}' -P '${{ env.DB_PASSWORD }}' -d "${{ env.DB_DATABASE }}" -Q "SELECT * FROM CMS_EventLog"
- name: Prepare test.runsettings
working-directory: ${{ env.UMT_DIR }}
run: |
Expand Down Expand Up @@ -181,6 +177,11 @@ jobs:
mkdir reports
dotnet test --settings:test.runsettings --logger:"html;LogFileName=${{ env.UMT_DIR }}\reports\logFile.html"
- name: Print event log
if: always()
run: |
sqlcmd -S "${{ env.SQLSERVER_NAME}}" -U '${{ env.DB_USER}}' -P '${{ env.DB_PASSWORD }}' -d "${{ env.DB_DATABASE }}" -Q "SELECT * FROM CMS_EventLog"
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
Expand Down

0 comments on commit 5c5e92f

Please sign in to comment.