diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/unittest.yaml similarity index 83% rename from .gitea/workflows/test.yaml rename to .gitea/workflows/unittest.yaml index 2da8372..c029e48 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/unittest.yaml @@ -1,24 +1,22 @@ -name: dotnet package - -on: [push] - -jobs: - build: - - runs-on: ubuntu-latest - strategy: - matrix: - dotnet-version: [ '7.0.x' ] - - steps: - - uses: https://github.com/actions/checkout@v3 - - name: Setup .NET Core SDK ${{ matrix.dotnet-version }} - uses: https://github.com/actions/setup-dotnet@v3 - with: - dotnet-version: ${{ matrix.dotnet-version }} - - name: Install dependencies - run: dotnet restore - - name: Build - run: dotnet build --configuration Release --no-restore - - name: Test +name: dotnet package + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + dotnet-version: [ '7.0.x' ] + + steps: + - uses: https://github.com/actions/checkout@v3 + - name: Setup .NET Core SDK ${{ matrix.dotnet-version }} + uses: https://github.com/actions/setup-dotnet@v3 + with: + dotnet-version: ${{ matrix.dotnet-version }} + - name: Install dependencies + run: dotnet restore + - name: Test run: dotnet test --no-restore --verbosity normal \ No newline at end of file