From 39bc3bd683f336b6f283b2b1cfa3f856531efbf9 Mon Sep 17 00:00:00 2001 From: Ionite Date: Wed, 8 Nov 2023 13:07:10 -0500 Subject: [PATCH] Add github actions ui tests --- .github/workflows/test-ui.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/test-ui.yml diff --git a/.github/workflows/test-ui.yml b/.github/workflows/test-ui.yml new file mode 100644 index 00000000..64d30841 --- /dev/null +++ b/.github/workflows/test-ui.yml @@ -0,0 +1,31 @@ +name: UI Tests + +on: + workflow_dispatch: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +concurrency: + group: build-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + build: + if: github.repository == 'LykosAI/StabilityMatrix' || github.event_name == 'workflow_dispatch' + runs-on: windows-latest + + steps: + - uses: actions/checkout@v3 + + - name: Set up .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '7.0.x' + + - name: Install dependencies + run: dotnet restore + + - name: Test + run: dotnet test StabilityMatrix.UITests