diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..8091707 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,23 @@ +name: Test + +on: + push: + branches: [ "action/publish" ] + pull_request: + branches: [ "main" ] + +jobs: + windows: + runs-on: windows-latest + steps: + - name: Checkout + uses: actions/checkout@v4.1.1 + - name: Ursa Headless Test + run: dotnet test ./tests/HeadlessTest.Ursa + ubuntu: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4.1.1 + - name: Ursa Headless Test + run: dotnet test ./tests/HeadlessTest.Ursa \ No newline at end of file diff --git a/demo/Ursa.Demo/App.axaml b/demo/Ursa.Demo/App.axaml index ed45456..ccab542 100644 --- a/demo/Ursa.Demo/App.axaml +++ b/demo/Ursa.Demo/App.axaml @@ -3,9 +3,18 @@ xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:semi="https://irihi.tech/semi" - xmlns:u-semi="https://irihi.tech/ursa/themes/semi"> + xmlns:u-semi="https://irihi.tech/ursa/themes/semi" + xmlns:u="https://irihi.tech/ursa" + xmlns:helpers="clr-namespace:Irihi.Avalonia.Shared.Helpers;assembly=Irihi.Avalonia.Shared"> + + + \ No newline at end of file diff --git a/demo/Ursa.Demo/Pages/DialogDemo.axaml b/demo/Ursa.Demo/Pages/DialogDemo.axaml index 2b4fe18..b50c1ec 100644 --- a/demo/Ursa.Demo/Pages/DialogDemo.axaml +++ b/demo/Ursa.Demo/Pages/DialogDemo.axaml @@ -51,6 +51,21 @@ IsThreeState="True" /> + + + + + + + + +