Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add httpbin_url input to python unit tests workflow #154

Merged
merged 5 commits into from
Nov 15, 2024
Merged
Changes from 1 commit
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
8 changes: 8 additions & 0 deletions .github/workflows/python_unit_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: Unit tests

on:
workflow_call:
inputs:
httpbin_url:
required: false
type: string
default: 'https://httpbin.org'
description: Used to set the HTTPBIN_URL environment variable

jobs:
unit_tests:
Expand All @@ -11,6 +17,8 @@ jobs:
os: ["ubuntu-latest", "windows-latest"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] # All supported Python versions.
runs-on: ${{ matrix.os }}
environment:
HTTPBIN_URL: ${{ inputs.httpbin_url }}

steps:
- name: Checkout repository
Expand Down
Loading