Skip to content

Commit 58468a5

Browse files
committed
add workflow for powershell client
1 parent ab6c827 commit 58468a5

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Samples PowerShell
2+
3+
on:
4+
push:
5+
paths:
6+
- samples/client/petstore/powershell/**
7+
pull_request:
8+
paths:
9+
- samples/client/petstore/powershell/**
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
name: Test Powershell Clients
14+
strategy:
15+
matrix:
16+
sample:
17+
- samples/client/petstore/powershell/
18+
services:
19+
petstore-api:
20+
image: swaggerapi/petstore
21+
ports:
22+
- 80:8080
23+
env:
24+
SWAGGER_HOST: http://petstore.swagger.io
25+
SWAGGER_BASE_PATH: /v2
26+
steps:
27+
- uses: actions/checkout@v5
28+
- name: Run tests
29+
working-directory: ${{ matrix.sample }}
30+
shell: pwsh
31+
run: |
32+
CIRunTest.ps1

samples/client/petstore/powershell/.openapi-generator-ignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@
2121
#docs/*.md
2222
# Then explicitly reverse the ignore rule for a single file:
2323
#!docs/README.md
24+
#
25+
#
26+
#

0 commit comments

Comments
 (0)