Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

Merge pull request #111 from redbaty/dependabot/nuget/dependencies-3f… #66

Merge pull request #111 from redbaty/dependabot/nuget/dependencies-3f…

Merge pull request #111 from redbaty/dependabot/nuget/dependencies-3f… #66

Workflow file for this run

name: tests
on:
push:
branches:
- main
paths-ignore:
- '**/README.md'
- 'assets/**'
- 'Wasari.Tvdb*/**'
jobs:
test:
runs-on: ubuntu-latest
container: mcr.microsoft.com/dotnet/sdk:8.0
services:
tvdbapi:
image: redbaty/wasari-tvdb-api:latest
env:
TVDB_API_KEY: ${{ secrets.tvdb_api_key }}
ASPNETCORE_ENVIRONMENT: Development
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run tests
env:
WasariTvdbApiUrl: http://tvdbapi
run: dotnet test --configuration Release --logger "trx;LogFileName=test_results.xml"
- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: Test Results
path: '**/test_results.xml'