diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..65494e2 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,22 @@ +name: Tests +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install .NET + uses: actions/setup-dotnet@v4 + + - name: Build & test + run: dotnet test --configuration Release --logger GitHubActions \ No newline at end of file diff --git a/src/Crdt.Tests/Crdt.Tests.csproj b/src/Crdt.Tests/Crdt.Tests.csproj index 6f4ab4b..fc12795 100644 --- a/src/Crdt.Tests/Crdt.Tests.csproj +++ b/src/Crdt.Tests/Crdt.Tests.csproj @@ -8,6 +8,10 @@ + + all + runtime; build; native; contentfiles; analyzers; buildtransitive +