File tree Expand file tree Collapse file tree 1 file changed +27
-27
lines changed
Expand file tree Collapse file tree 1 file changed +27
-27
lines changed Original file line number Diff line number Diff line change 1- # name: Build and test
1+ name : Build and test
22
3- # on:
4- # push:
5- # branches: [ "master" ]
6- # pull_request:
7- # branches: [ "master" ]
3+ on :
4+ push :
5+ branches : [ "master" ]
6+ pull_request :
7+ branches : [ "master" ]
88
9- # env:
10- # PROJECT_PATH: ./ src/ ParticleSwarmSharp.UnitTests
9+ env :
10+ PROJECT_PATH : ' src\ ParticleSwarmSharp.UnitTests\ParticleSwarmSharp.UnitTests.csproj '
1111
12- # jobs:
13- # build:
14- # name: Build and test
15- # runs-on: windows -latest
12+ jobs :
13+ build :
14+ name : Build and test
15+ runs-on : ubuntu -latest
1616
17- # steps:
18- # - uses: actions/checkout@v3
17+ steps :
18+ - uses : actions/checkout@v3
1919
20- # - name: Setup .NET
21- # uses: actions/setup-dotnet@v3
22- # with:
23- # dotnet-version: 6.0.x
20+ - name : Setup .NET
21+ uses : actions/setup-dotnet@v3
22+ with :
23+ dotnet-version : 6.0.x
2424
25- # - name: Restore dependencies
26- # run: dotnet restore
27- # working-directory: ${{ env.PROJECT_PATH }}
25+ - name : Restore dependencies
26+ run : dotnet restore
27+ working-directory : ${{ env.PROJECT_PATH }}
2828
29- # - name: Build
30- # run: dotnet build --no-restore
31- # working-directory: ${{ env.PROJECT_PATH }}
29+ - name : Build
30+ run : dotnet build --no-restore
31+ working-directory : ${{ env.PROJECT_PATH }}
3232
33- # - name: Test
34- # run: dotnet test --no-build --verbosity normal
35- # working-directory: ${{ env.PROJECT_PATH }}
33+ - name : Test
34+ run : dotnet test --no-build --verbosity normal
35+ working-directory : ${{ env.PROJECT_PATH }}
You can’t perform that action at this time.
0 commit comments