Skip to content

Bump github.com/aws/aws-xray-sdk-go from 1.7.0 to 1.8.5 in /internal/aws/xray/testdata/sampleserver #14622

Bump github.com/aws/aws-xray-sdk-go from 1.7.0 to 1.8.5 in /internal/aws/xray/testdata/sampleserver

Bump github.com/aws/aws-xray-sdk-go from 1.7.0 to 1.8.5 in /internal/aws/xray/testdata/sampleserver #14622

name: build-and-test-windows
on:
push:
branches: [ main ]
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
pull_request:
env:
TEST_RESULTS: testbed/tests/results/junit/results.xml
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
windows-unittest-matrix:
strategy:
matrix:
group:
- receiver-0
- receiver-1
- processor
- exporter
- extension
- internal
- other
runs-on: windows-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- if: matrix.group == 'receiver-0'
name: install IIS
run: Install-WindowsFeature -name Web-Server -IncludeManagementTools
- if: matrix.group == 'receiver-0'
name: Install Active Directory DS
run: Install-WindowsFeature -name AD-Domain-Services -IncludeManagementTools
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Cache Go
uses: actions/cache@v3
with:
path: |
~\go\pkg\mod
~\AppData\Local\go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Run Unit tests
run: make gotest GROUP=${{ matrix.group }}
windows-unittest:
if: ${{ always() }}
runs-on: windows-latest
needs: [windows-unittest-matrix]
steps:
- name: Print result
run: echo ${{ needs.windows-unittest-matrix.result }}
- name: Interpret result
shell: bash
run: |
if [[ success == ${{ needs.windows-unittest-matrix.result }} ]]
then
echo "All matrix jobs passed!"
else
echo "One or more matrix jobs failed."
false
fi