From dc8327289fd90b6d66e7b3e4b2d8b3916690ae36 Mon Sep 17 00:00:00 2001 From: mdnapo Date: Sun, 6 Oct 2024 09:28:13 +0200 Subject: [PATCH] Testing ci pipeline --- .gitea/gitea-ci.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.gitea/gitea-ci.yaml b/.gitea/gitea-ci.yaml index e69de29..3e4b811 100644 --- a/.gitea/gitea-ci.yaml +++ b/.gitea/gitea-ci.yaml @@ -0,0 +1,18 @@ +name: Test and build +run-name: ${{ gitea.actor }} is building MycroForge.CLI +on: [ push ] + +jobs: + test: + runs-on: ubuntu-default + steps: + - uses: https://github.com/actions/checkout@v4 + - uses: https://github.com/actions/setup-dotnet@v4 + with: + dotnet-version:'8.x' + - name: "Run dotnet restore" + run: dotnet restore + - name: "Run dotnet build" + run: dotnet build --no-restore + - name: "Test the image" + run: dotnet test --no-build --verbosity normal