Testing ci pipeline
This commit is contained in:
parent
a88f8a1f11
commit
dc8327289f
@ -0,0 +1,18 @@
|
|||||||
|
name: Test and build
|
||||||
|
run-name: ${{ gitea.actor }} is building MycroForge.CLI
|
||||||
|
on: [ push ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-default
|
||||||
|
steps:
|
||||||
|
- uses: https://github.com/actions/checkout@v4
|
||||||
|
- uses: https://github.com/actions/setup-dotnet@v4
|
||||||
|
with:
|
||||||
|
dotnet-version:'8.x'
|
||||||
|
- name: "Run dotnet restore"
|
||||||
|
run: dotnet restore
|
||||||
|
- name: "Run dotnet build"
|
||||||
|
run: dotnet build --no-restore
|
||||||
|
- name: "Test the image"
|
||||||
|
run: dotnet test --no-build --verbosity normal
|
Loading…
Reference in New Issue
Block a user