Fix backward logic to try to fix mac build #69
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: 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 | |