Skip to content

When creating new retrospective hub, checkbox do not have a visual ef… #147

When creating new retrospective hub, checkbox do not have a visual ef…

When creating new retrospective hub, checkbox do not have a visual ef… #147

Workflow file for this run

name: 'CI - Backend'
on:
push:
branches:
- main
- dev
- 'releases/**'
pull_request:
branches:
- main
- dev
- 'releases/**'
workflow_dispatch:
jobs:
build:
name: Backend - Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
name: Check out repository
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
src:
- '.github/**'
- 'RetrospectiveExtension.Backend/**'
- 'RetrospectiveExtension.Backend.Tests/**'
- if: steps.changes.outputs.src == 'true'
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- if: steps.changes.outputs.src == 'true'
run: |
dotnet restore
dotnet build
name: Build
working-directory: 'RetrospectiveExtension.Backend'
- if: steps.changes.outputs.src == 'true'
run: |
dotnet test --logger "trx;LogFileName=test-results.trx"
name: Test
working-directory: 'RetrospectiveExtension.Backend.Tests'
- if: steps.changes.outputs.src == 'true'
name: Upload backend test report
uses: dorny/[email protected]
with:
name: Dotnet Tests
path: TestResults/test-results.trx
reporter: dotnet-trx
working-directory: 'RetrospectiveExtension.Backend.Tests'