Use master branch only for status badges #41
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: | |
pull_request: | |
types: [ opened, synchronize, reopened, ready_for_review, labeled, unlabeled ] | |
push: | |
branches: [ master ] | |
jobs: | |
test-on-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checks-out repository | |
uses: actions/checkout@v2 | |
- name: Build | |
run: | | |
dotnet build ./BobClient/ | |
- name: Test net50 | |
run: | | |
dotnet test ./BobClient/ --no-build -f "net5.0" --blame-hang --blame-hang-timeout 15m -l "console;verbosity=detailed" | |
test-on-windows: | |
runs-on: windows-latest | |
steps: | |
- name: Checks-out repository | |
uses: actions/checkout@v2 | |
- name: Build | |
run: | | |
dotnet build ./BobClient/ | |
- name: Test net462 | |
run: | | |
dotnet test ./BobClient/ --no-build -f "net462" --blame-hang --blame-hang-timeout 15m -l "console;verbosity=detailed" |