misc: simplify actions.

This commit is contained in:
Zhang Dian
2025-05-30 17:36:59 +08:00
parent 82c1bf2100
commit 7b99270513
7 changed files with 68 additions and 54 deletions

View File

@@ -2,7 +2,7 @@ name: Test
on:
push:
branches: [ "main", "action/publish" ]
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
@@ -14,9 +14,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Ursa Unit Test
run: dotnet test ./tests/Test.Ursa
run: dotnet test tests/Test.Ursa
- name: Ursa Headless Test
run: dotnet test ./tests/HeadlessTest.Ursa
run: dotnet test tests/HeadlessTest.Ursa
ubuntu:
runs-on: ubuntu-latest
@@ -24,6 +24,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Ursa Unit Test
run: dotnet test ./tests/Test.Ursa
run: dotnet test tests/Test.Ursa
- name: Ursa Headless Test
run: dotnet test ./tests/HeadlessTest.Ursa
run: dotnet test tests/HeadlessTest.Ursa