Test Report #30
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Test Report" | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ "master" ] | |
schedule: | |
- cron: '15 00 9 * *' | |
workflow_dispatch: | |
jobs: | |
test: | |
name: Test Report | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
checks: write | |
steps: | |
- name: Setup .NET Core SDK | |
uses: actions/setup-dotnet@v3.0.3 | |
with: | |
dotnet-version: 6.x | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Build projects | |
run: dotnet build | |
- name: Run tests | |
continue-on-error: true | |
env: | |
KINOPOISK_DEV_TOKEN: ${{ secrets.KINOPOISK_DEV_TOKEN }} | |
KINOPOISK_UNOFFICIAL_TOKEN: ${{ secrets.KINOPOISK_UNOFFICIAL_TOKEN }} | |
run: dotnet test --logger "trx;LogFileName=test-results.trx" | |
- name: Test Report | |
uses: dorny/test-reporter@v1 | |
with: | |
name: 'Test report' | |
path: 'EmbyKinopoiskRu.Tests/TestResults/test-results.trx' | |
reporter: 'dotnet-trx' |