Skip to content

New Api Endpoints

New Api Endpoints #78

Workflow file for this run

name: Backend - CI
on:
pull_request:
branches:
- sprint-release
- main
paths:
- "backend/**"
push:
branches:
- '**'
jobs:
linting:
name: Check linting
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Restore dependencies
run: dotnet restore
working-directory: backend\src\BIE.DataPipeline
- name: Linting
run: dotnet format BIE.DataPipeline.sln
working-directory: backend\src\BIE.DataPipeline
tests:
needs: linting
name: Run Tests
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Restore dependencies
run: dotnet restore
working-directory: backend\src\BIE.DataPipeline
- name: Run unit tests
run: dotnet test
working-directory: backend\src\BIE.DataPipeline