Skip to content

Merge pull request #1298 from microsoftgraph/andrueastman/excludeTcpApis #2104

Merge pull request #1298 from microsoftgraph/andrueastman/excludeTcpApis

Merge pull request #1298 from microsoftgraph/andrueastman/excludeTcpApis #2104

Workflow file for this run

name: .NET
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup .NET
uses: actions/[email protected]
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore ./Typewriter.sln
- name: Build
run: dotnet build ./Typewriter.sln --no-restore
- name: Test
run: dotnet test ./Typewriter.sln --no-build --verbosity normal
- name: Upload languages test output on failure
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: languages-test-output
path: 'test/Typewriter.Test/bin/Debug/net8.0/OutputDirectory*/**'
- name: Upload unit test output on failure
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: unit-test-output
path: test/Typewriter.Test/bin/Debug/net8.0/output/