mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.2 KiB
55 lines
1.2 KiB
name: "build and test"
|
|
on:
|
|
push:
|
|
branches:
|
|
- dev
|
|
paths:
|
|
- 'framework/**/*.cs'
|
|
- 'framework/**/*.cshtml'
|
|
- 'framework/**/*.csproj'
|
|
- 'framework/**/*.razor'
|
|
- 'modules/**/*.cs'
|
|
- 'modules/**/*.cshtml'
|
|
- 'modules/**/*.csproj'
|
|
- 'modules/**/*.razor'
|
|
- 'templates/**/*.cs'
|
|
- 'templates/**/*.cshtml'
|
|
- 'templates/**/*.csproj'
|
|
- 'templates/**/*.razor'
|
|
|
|
pull_request:
|
|
paths:
|
|
- 'framework/**/*.cs'
|
|
- 'framework/**/*.cshtml'
|
|
- 'framework/**/*.csproj'
|
|
- 'framework/**/*.razor'
|
|
- 'modules/**/*.cs'
|
|
- 'modules/**/*.cshtml'
|
|
- 'modules/**/*.csproj'
|
|
- 'modules/**/*.razor'
|
|
- 'templates/**/*.cs'
|
|
- 'templates/**/*.cshtml'
|
|
- 'templates/**/*.csproj'
|
|
- 'templates/**/*.razor'
|
|
jobs:
|
|
build-test:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-dotnet@master
|
|
with:
|
|
dotnet-version: 6.0.100
|
|
|
|
- name: Build All
|
|
run: .\build-all.ps1
|
|
working-directory: .\build
|
|
shell: powershell
|
|
|
|
- name: Test All
|
|
run: .\test-all.ps1
|
|
working-directory: .\build
|
|
shell: powershell
|
|
|
|
- name: Codecov
|
|
uses: codecov/codecov-action@v2
|