Skip to content

Merge pull request #298 from aws/revert-297-release-v2.15.0 #8

Merge pull request #298 from aws/revert-297-release-v2.15.0

Merge pull request #298 from aws/revert-297-release-v2.15.0 #8

Workflow file for this run

name: Continuous Build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build-test:
runs-on: windows-latest
env:
DOTNET_MULTILEVEL_LOOKUP: 1
strategy:
fail-fast: false
matrix:
version: [net452, net462, netcoreapp2.0, netcoreapp3.1, net6.0]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '2.0.x'
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- name: Install dependencies
run: dotnet restore sdk/AWSXRayRecorder.sln
- name: Build solution
run: dotnet build sdk/AWSXRayRecorder.sln --configuration Release --no-restore
- name: Run tests
run: >-
dotnet test sdk/test/UnitTests/bin/Release/${{matrix.version}}/AWSXRayRecorder.UnitTests.dll
--configuration Release
--no-build
--logger "console;verbosity=detailed"