Skip to content

Commit

Permalink
Pipeline updated
Browse files Browse the repository at this point in the history
  • Loading branch information
KaloyankerR committed Dec 17, 2023
1 parent 11970e2 commit 877e051
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,43 @@ name: .NET
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

checkout:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

setup-dotnet:
runs-on: ubuntu-latest
needs: checkout
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

restore-dependencies:
runs-on: ubuntu-latest
needs: setup-dotnet
steps:
- name: Restore dependencies
run: dotnet restore
working-directory: ./FitFusion

build:
runs-on: ubuntu-latest
needs: restore-dependencies
steps:
- name: Build
run: dotnet build --no-restore
working-directory: ./FitFusion

test:
runs-on: ubuntu-latest
needs: build
steps:
- name: Test
run: dotnet test --no-build --verbosity normal --filter FullyQualifiedName~FitFusionTest
working-directory: ./FitFusion/FitFusionTest

0 comments on commit 877e051

Please sign in to comment.