forked from duplicati/duplicati
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (33 loc) · 861 Bytes
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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/[email protected]
with:
dotnet-version: 6.0.x
- name: Checkout source
uses: actions/[email protected]
- 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