Skip to content

feat: ability to import using option #67

feat: ability to import using option

feat: ability to import using option #67

Workflow file for this run

on:
push:
branches:
- main
tags-ignore:
- '**'
paths:
- '.github/workflows/build.yml'
- 'global.json'
- 'Directory.Build.props'
- 'InfrastructureCli.sln'
- 'src/**'
- 'test/**'
name: Build
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install .NET SDK
uses: actions/setup-dotnet@v3
- name: Restore Dependencies
run: dotnet restore InfrastructureCli.sln --locked-mode
- name: Run Project Tests
run: dotnet test InfrastructureCli.sln --no-restore -c Debug --collect:"XPlat Code Coverage" --results-directory ./TestResults -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover
- name: Publish Coverage Results
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: ./TestResults/**/*.xml