Skip to content

Commit

Permalink
Setup mono ci/cd test pipeline (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
dannoe committed May 12, 2020
1 parent 5e7b904 commit f60d3a1
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/pr.yml
Expand Up @@ -51,3 +51,24 @@ jobs:
with:
name: KeeTrayTOTP.plgx
path: KeeTrayTOTP\bin\ReleasePlgx\KeeTrayTOTP.plgx

build-mono:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Install xvfb-run
run: sudo apt -y install xvfb

- name: Download nuget.exe
run: wget https://dist.nuget.org/win-x86-commandline/latest/nuget.exe

- name: nuget restore
run: mono nuget.exe restore

- name: MSBuild
run: msbuild /target:build

- name: Run tests
run: xvfb-run dotnet vstest KeeTrayTOTP.Tests/bin/Debug/KeeTrayTOTP.Tests.dll

0 comments on commit f60d3a1

Please sign in to comment.