mycroforge/.gitea/workflows/gitea-ci.yml
mdnapo bc1f0fb943
All checks were successful
Test and build / test (push) Successful in 2m46s
Manually reference MycroForge.Core in MycroForge.PluginTemplate
2024-10-06 11:33:36 +02:00

22 lines
707 B
YAML

name: Test and build
run-name: ${{ gitea.actor }} is building MycroForge.CLI
on: [ push ]
jobs:
test:
runs-on: ubuntu-latest
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: "Reference MycroForge.Core in MycroForge.PluginTemplate"
run: dotnet add MycroForge.PluginTemplate reference MycroForge.Core
- name: "Run MycroForge.CLI.Tests"
# run: dotnet test --no-build --verbosity normal
run: dotnet test