mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-25 02:44:56 +08:00
Some checks failed
Compile / Compile .NET solution (push) Has been cancelled
Compile / Compile Client-side Assets (push) Has been cancelled
SpecFlow Tests / SpecFlow Tests (push) Has been cancelled
Build Crowdin Translation Packages / build-crowdin-translation-packages (push) Has been cancelled
37 lines
987 B
YAML
37 lines
987 B
YAML
name: SpecFlow Tests
|
|
# Compiles the solution and runs unit tests, as well the SpecFlow tests on the main development branches.
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- dev
|
|
schedule:
|
|
- cron: '0 0 * * 1' # Every Monday midnight.
|
|
|
|
jobs:
|
|
compile:
|
|
name: SpecFlow Tests
|
|
runs-on: windows-2025
|
|
defaults:
|
|
run:
|
|
shell: cmd
|
|
steps:
|
|
- name: Clone Repository
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
|
|
- name: Restore NuGet Packages
|
|
run: nuget restore src/Orchard.sln
|
|
|
|
- name: Add msbuild to PATH
|
|
uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce # v2.0.0
|
|
|
|
- name: Compile
|
|
run: msbuild Orchard.proj /m /v:minimal /t:Compile /p:MvcBuildViews=true /p:TreatWarningsAsErrors=true -WarnAsError
|
|
|
|
- name: Test
|
|
run: msbuild Orchard.proj /m /v:minimal /t:Test
|
|
|
|
- name: Spec
|
|
run: msbuild Orchard.proj /m /v:minimal /t:Spec
|