ajout d'un pipeline pour la branche main
This commit was merged in pull request #35.
This commit is contained in:
32
.gitea/workflows/Merge.yaml
Normal file
32
.gitea/workflows/Merge.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
name: "Merging on main"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
|
||||
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@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v5
|
||||
with:
|
||||
dotnet-version: |
|
||||
10.x
|
||||
- name: "Restore/Build/Test"
|
||||
run: |
|
||||
dotnet test ./src/LittleTown.sln --configuration Release --verbosity normal --logger trx --collect:"XPlat Code Coverage" --logger:"trx;LogFileName=test_results.xml"
|
||||
|
||||
Reference in New Issue
Block a user