From 74e7a5c2dd951bd50d5a760c9d9946ef650f2546 Mon Sep 17 00:00:00 2001 From: Karmel Indych Date: Mon, 17 Jun 2024 09:05:37 +0300 Subject: [PATCH] add GH actions --- .github/workflows/akkaTests.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/akkaTests.yml diff --git a/.github/workflows/akkaTests.yml b/.github/workflows/akkaTests.yml new file mode 100644 index 0000000..d3bf0c9 --- /dev/null +++ b/.github/workflows/akkaTests.yml @@ -0,0 +1,32 @@ +name: tests/akka + +on: + push: + branches: + - main + + pull_request: + branches: + - main +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: '8.0' + + - name: Install dependencies + run: dotnet restore + working-directory: ./test/Akka.Persistence.RavenDB.Tests + + - name: Build dotnet + run: dotnet build + working-directory: ./test/Akka.Persistence.RavenDB.Tests + + - name: Test - Release + run: dotnet test --configuration Release --no-restore + working-directory: ./test/Akka.Persistence.RavenDB.Tests \ No newline at end of file