Skip to content

Merge pull request #35 from sguryev/serj/main-snake-test #117

Merge pull request #35 from sguryev/serj/main-snake-test

Merge pull request #35 from sguryev/serj/main-snake-test #117

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.x
7.x
8.x
- name: dotnet build
run: dotnet build
- name: dotnet test
run: dotnet test --no-build --no-restore --logger "junit;LogFilePath=unit-tests.xml"
- name: publish test results
uses: EnricoMi/publish-unit-test-result-action@v1
if: always()
with:
files: "**/*-tests.xml"
check_name: "Unit Test Results"