diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 3b18a85a..d0e42bc5 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -12,7 +12,7 @@ jobs: execute-parallel-pipeline: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - uses: actions/setup-dotnet@v5 - uses: chickensoft-games/setup-godot@v2 with: diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml new file mode 100644 index 00000000..bc13a9a9 --- /dev/null +++ b/.github/workflows/run-tests.yml @@ -0,0 +1,41 @@ +name: Build and Run Tests for the Whole Solution +on: + push: + branches-ignore: + - main + pull_request: + branches: + - main + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + + steps: + - name: Checkout code + uses: actions/checkout@v6 + + - name: Setup .NET + uses: actions/setup-dotnet@v5 + with: + dotnet-version: 10.0.x + + - name: Setup Godot + uses: chickensoft-games/setup-godot@v2 + with: + version: 4.5.1 + use-dotnet: true + include-templates: true + + - name: Restore dependencies + run: dotnet restore + + - name: Build + run: dotnet build --no-restore + + - name: Test + run: dotnet test --no-restore --no-build --verbosity normal diff --git a/SharpIDE.slnx b/SharpIDE.slnx index bf1e474c..35487877 100644 --- a/SharpIDE.slnx +++ b/SharpIDE.slnx @@ -2,6 +2,7 @@ +