Skip to content

remove old localization attr && move new one to Apstractions #270

remove old localization attr && move new one to Apstractions

remove old localization attr && move new one to Apstractions #270

Workflow file for this run

name: Pull Request
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Check License Lines
uses: kt3k/[email protected]
- name: Ensure Version Bump
uses: mindbox-moscow/github-actions/ensure-bump@master
with:
abstractionsPath: 'Mindbox.I18n.Abstractions'
- name: Build
run: dotnet build Mindbox.I18n.sln --configuration Release
- name: Test
run: dotnet test Mindbox.I18n.sln --no-build --configuration Release --collect:"XPlat Code Coverage" --logger trx --results-directory coverage
- name: ReportGenerator
uses: danielpalme/[email protected]
with:
reports: coverage/*/coverage.cobertura.xml
targetdir: coveragereport
reporttypes: 'Cobertura'
verbosity: 'verbose'
- name: Code Coverage Summary Report
uses: irongut/[email protected]
with:
filename: coveragereport/*.xml
badge: true
format: 'markdown'
output: 'both'
fail_below_min: false
thresholds: '50 80'
- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v2
with:
recreate: true
path: code-coverage-results.md