From 807b51f48c600fe21e77bf99a9488047aa22a842 Mon Sep 17 00:00:00 2001 From: Miepee <38186597+Miepee@users.noreply.github.com> Date: Mon, 23 Jan 2023 19:09:21 +0100 Subject: [PATCH] Make actions go through built-in tests --- .github/workflows/main.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c2aec6f..b60da1a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -92,3 +92,20 @@ jobs: with: name: GUI-${{ matrix.os }} path: ${{ matrix.os }}.zip + + tests: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + submodules: true + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 6.0.x + - name: Restore dependencies + working-directory: ./AM2RPortHelperTests/ + run: dotnet restore + - name: Test + run: dotnet test