Merge pull request #153 from ddobric/mahdieh #1004
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET Core | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ${{env.WrkDir}} | |
env: | |
WrkDir: ./source | |
MainSln: NeoCortexApi.All.sln | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: | | |
5.0.x | |
6.0.x | |
7.0.x | |
8.0.x | |
- name: Install dependencies | |
run: dotnet restore ${{env.MainSln}} | |
- name: Build | |
run: dotnet build ${{env.MainSln}} --configuration Release --no-restore | |
# Run test on Test category "SpatialPooler" | |
- name: Test | |
run: dotnet test ${{env.MainSln}} --no-restore --verbosity normal --filter TestCategory=Prod |