MireaBackend/.gitea/workflows/test.yaml
Polianin Nikita de2f909ed6
Some checks failed
.NET Test Pipeline / build-and-test (push) Successful in 4m26s
Build and Deploy Docker Container / build-and-deploy (push) Failing after 3m24s
build: try create image
2024-07-02 23:42:29 +03:00

29 lines
610 B
YAML

name: .NET Test Pipeline
on:
pull_request:
push:
branches:
[master, 'release/*']
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore
- name: Build the solution
run: dotnet build --configuration Release
- name: Run tests
run: dotnet test --configuration Release --no-build --no-restore --verbosity normal