Skip to content

Merge pull request #161 from christianhelle/renovate/microsoft.openap… #426

Merge pull request #161 from christianhelle/renovate/microsoft.openap…

Merge pull request #161 from christianhelle/renovate/microsoft.openap… #426

Workflow file for this run

name: Smoke Tests
on:
workflow_dispatch:
push:
paths-ignore:
- "**/*"
- '!src/**/*.cs'
- '!src/**/*.csproj'
- "!.github/workflows/template.yml"
- "!.github/workflows/template-url.yml"
- "!.github/workflows/smoke-tests.yml"
branches:
- "*"
pull_request:
paths-ignore:
- "**/*"
- '!src/**/*.cs'
- '!src/**/*.csproj'
- "!.github/workflows/template.yml"
- "!.github/workflows/template-url.yml"
- "!.github/workflows/smoke-tests.yml"
branches:
- "*"
jobs:
file:
runs-on: ubuntu-latest
steps:
- name: 🛒 Checkout repository
uses: actions/checkout@v4
- name: 🛠️ Run Smoke Test
run: ./smoke-tests.ps1
working-directory: test
shell: pwsh
url:
strategy:
matrix:
os: [ubuntu-latest]
openapi_url: [
"https://petstore3.swagger.io/api/v3/openapi.json",
"https://petstore3.swagger.io/api/v3/openapi.yaml"
]
uses: ./.github/workflows/template-url.yml
with:
os: ${{ matrix.os }}
openapi: ${{ matrix.openapi_url }}
command: 'dotnet run --project ../src/HttpGenerator/HttpGenerator.csproj'