Skip to content

Merge pull request #36 from futurum-dev/feature/readme-improvements #114

Merge pull request #36 from futurum-dev/feature/readme-improvements

Merge pull request #36 from futurum-dev/feature/readme-improvements #114

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
# Need pull requests so Coveralls comments get added to pull requests
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 100
- name: Setup .NET 8
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.x
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=lcov
- name: Publish coverage report to coveralls.io
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: unit
parallel: true
path-to-lcov: ./test/Futurum.WebApiEndpoint.Micro.Tests/TestResults/coverage.info
- name: Publish coverage report to coveralls.io
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: end-to-end
parallel: true
path-to-lcov: ./test/Futurum.WebApiEndpoint.Micro.EndToEndTests/TestResults/coverage.info
finish:
needs: build
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true