Browse Source

Add github actions ui tests

pull/240/head
Ionite 1 year ago
parent
commit
39bc3bd683
No known key found for this signature in database
  1. 31
      .github/workflows/test-ui.yml

31
.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
Loading…
Cancel
Save