Skip to content

Commit

Permalink
Add httpbin_url input to python unit tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
janbuchar committed Nov 15, 2024
1 parent ac061b7 commit be989cb
Showing 1 changed file with 8 additions and 0 deletions.
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

0 comments on commit be989cb

Please sign in to comment.