Skip to content

Uninstall packaging through brew when building Updater #1648

Uninstall packaging through brew when building Updater

Uninstall packaging through brew when building Updater #1648

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
jobs:
test_and_check_coverage:
runs-on: [self-hosted, linux]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: "Setup Dotnet for use with actions"
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: "Test"
working-directory: Fronter.NET.Tests
shell: pwsh
run: |
$env:CoverletOutput='./TestResults/coverage.info'
$env:CoverletOutputFormat='lcov'
dotnet test /p:CollectCoverage=true /p:Exclude=[commonItems]*
- name: Publish coverage report to coveralls.io
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: Fronter.NET.Tests/TestResults/coverage.info
test:
strategy:
matrix:
os: [[self-hosted, windows], macos-14]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: "Setup Dotnet for use with actions"
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: "Test"
working-directory: Fronter.NET.Tests
run: |
dotnet test