Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/azsdk-cli-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: azsdk-cli - Test

on:
push:
branches:
- main
paths:
- .github/workflows/azsdk-cli-tests.yml
- tools/azsdk-cli/**
pull_request:
paths:
- .github/workflows/azsdk-cli-tests.yml
- tools/azsdk-cli/**

jobs:
azsdk-cli:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
with:
sparse-checkout: |
.github/workflows
Directory.Build.Props
Directory.Build.Targets
global.json
eng/
tools/azsdk-cli
tools/codeowners-utils

Comment thread
benbp marked this conversation as resolved.
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
9.0.x

- run: dotnet test ./tools/azsdk-cli
30 changes: 15 additions & 15 deletions tools/azsdk-cli/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ extends:
ToolDirectory: tools/azsdk-cli/Azure.Sdk.Tools.Cli
TestDirectory: tools/azsdk-cli/Azure.Sdk.Tools.Cli.Tests
StandaloneExeMatrix:
- rid: osx-x64
framework: net8.0
assembly: azsdk
- rid: osx-arm64
framework: net8.0
assembly: azsdk
- rid: win-x64
framework: net8.0
assembly: azsdk
- rid: linux-x64
framework: net8.0
assembly: azsdk
- rid: linux-arm64
framework: net8.0
assembly: azsdk
- rid: linux-x64
framework: net8.0
assembly: azsdk
- rid: linux-arm64
framework: net8.0
assembly: azsdk
- rid: osx-x64
framework: net8.0
assembly: azsdk
- rid: osx-arm64
framework: net8.0
assembly: azsdk
- rid: win-x64
framework: net8.0
assembly: azsdk
Loading