-
-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (28 loc) · 1.02 KB
/
mauitests.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
name: Run ProtoRabbit-MAUI Tests
on:
workflow_dispatch:
push:
paths:
- "ProtoRabbit-MAUI/**"
jobs:
protorabbit-maui-tests:
runs-on: ubuntu-latest
# These permissions are necessary for 'publish-unit-test-result-action'
permissions:
checks: write
pull-requests: write
steps:
- uses: actions/checkout@main
- name: Install tizen workload to make GitHub happy - necessary for some reason.
run: dotnet workload restore ProtoRabbit-MAUI/ProtoRabbit-MAUI-Test/ProtoRabbit-MAUI-Test.csproj
- name: Show DOTNET SDKs
run: dotnet --list-sdks
- name: Restore Packages
run: dotnet restore ProtoRabbit-MAUI/ProtoRabbit-MAUI-Test/ProtoRabbit-MAUI-Test.csproj
- name: Run Tests
run: dotnet test --logger trx ProtoRabbit-MAUI/ProtoRabbit-MAUI-Test/ProtoRabbit-MAUI-Test.csproj
- name: Publish Test Results
uses: EnricoMi/[email protected]
with:
files: |
**/ProtoRabbit-MAUI-Test/**/*.trx