Files
duplicati/.github/workflows/tests.yml
T
gpatel-frandGitHub 0664916e95 Merge pull request #4933 from gpatel-fr/retrymactestdownload
try to work around problems in downloading test file by retrying
2023-05-17 20:15:10 +02:00

43 lines
861 B
YAML

name: Tests
on:
push:
branches: "**net5**"
pull_request:
branches: "**net5**"
jobs:
unit_tests:
name: Unit tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
steps:
- name: Set up .NET
uses: actions/setup-dotnet@v1.8.0
with:
dotnet-version: 6.0.x
- name: Checkout source
uses: actions/checkout@v2.3.4
- name: Restore NuGet dependencies
run: dotnet restore Duplicati.sln
- name: Build Duplicati
run: dotnet build --no-restore Duplicati.sln
- name: Run unit tests
run: dotnet test --no-build --verbosity minimal Duplicati.sln
selenium:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Selenium
run: pipeline/selenium/test.sh