Bump Fronter.NET from aad3a11
to bd4cca1
#2475
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Test" | |
on: | |
pull_request: | |
concurrency: | |
group: ci-tests-${{ github.ref }}-1 | |
cancel-in-progress: true | |
jobs: | |
test_and_check_coverage: | |
runs-on: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: "Setup Dotnet for use with actions" | |
uses: actions/setup-dotnet@v3 | |
with: | |
global-json-file: global.json | |
- name: "Test" | |
working-directory: ImperatorToCK3.UnitTests | |
shell: pwsh | |
run: | | |
$env:CoverletOutput='./TestResults/coverage.info' | |
$env:CoverletOutputFormat='lcov' | |
dotnet test /p:CollectCoverage=true | |
- name: "Publish coverage report to coveralls.io" | |
uses: coverallsapp/github-action@v2 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: ImperatorToCK3.UnitTests/TestResults/coverage.info | |
format: lcov | |
debug: true | |
test: | |
strategy: | |
matrix: | |
os: [[self-hosted, windows], macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: "Setup Dotnet for use with actions" | |
uses: actions/setup-dotnet@v3 | |
with: | |
global-json-file: global.json | |
- name: "Test" | |
working-directory: ImperatorToCK3.UnitTests | |
run: | | |
dotnet test |