Files
LittleTown/.gitea/workflows/Quality.yaml
mcmuzzle 966a82c4fc
Some checks failed
dotnet package / build (8.0.x) (push) Successful in 1m39s
Main Build Process / Build & Test (pull_request) Failing after 55s
build + test
2024-08-25 23:13:21 +02:00

37 lines
854 B
YAML

name: "Main Build Process"
# Runs on main branch commits,
# every commit in a pull request, any published release.
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
release:
types: [published]
env:
REGISTRY: gitea.borealian.ovh
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
name: "Build & Test"
# Permissions this GitHub Action needs for other things in GitHub
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.x
- name: "Restore/Build/Test"
run: dotnet test --configuration Release --verbosity normal --logger trx --collect:"XPlat Code Coverage"