Merge pull request #623 from christianhelle/docs #1215
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Smoke Tests | |
on: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- "**/*" | |
- '!src/Refitter/**/*.cs' | |
- '!src/Refitter.Core/**/*.cs' | |
- '!src/Refitter.SourceGenerator/**/*.cs' | |
- '!src/Refitter/**/*.csproj' | |
- '!src/Refitter.Core/**/*.csproj' | |
- '!src/Refitter.SourceGenerator/**/*.csproj' | |
- "!.github/workflows/template.yml" | |
- "!.github/workflows/template-url.yml" | |
- "!.github/workflows/smoke-tests.yml" | |
- "!test/smoke-tests.ps1" | |
branches: | |
- "main" | |
pull_request: | |
paths-ignore: | |
- "**/*" | |
- '!src/Refitter/**/*.cs' | |
- '!src/Refitter.Core/**/*.cs' | |
- '!src/Refitter.SourceGenerator/**/*.cs' | |
- '!src/Refitter/**/*.csproj' | |
- '!src/Refitter.Core/**/*.csproj' | |
- '!src/Refitter.SourceGenerator/**/*.csproj' | |
- "!.github/workflows/template.yml" | |
- "!.github/workflows/template-url.yml" | |
- "!.github/workflows/smoke-tests.yml" | |
- "!test/smoke-tests.ps1" | |
branches: | |
- "*" | |
jobs: | |
script: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🛒 Checkout repository | |
uses: actions/checkout@v4 | |
- uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '9.0' | |
- name: 🛠️ Run smoke test script | |
run: ./smoke-tests.ps1 | |
working-directory: test | |
shell: pwsh |