Skip to content

Commit a841601

Browse files
authored
feat: Add httpbin_url input to python unit tests workflow (#154)
* Add httpbin_url input to python unit tests workflow * Do not fail fast * Fix * Actually fix * Use secrets instead of inputs
1 parent ac061b7 commit a841601

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/python_unit_tests.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,22 @@ name: Unit tests
22

33
on:
44
workflow_call:
5+
secrets:
6+
httpbin_url:
7+
required: false
8+
description: Used to set the HTTPBIN_URL environment variable
59

610
jobs:
711
unit_tests:
812
name: Unit tests
913
strategy:
14+
fail-fast: false
1015
matrix:
1116
os: ["ubuntu-latest", "windows-latest"]
1217
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] # All supported Python versions.
1318
runs-on: ${{ matrix.os }}
19+
env:
20+
HTTPBIN_URL: ${{ secrets.httpbin_url || 'https://httpbin.org' }}
1421

1522
steps:
1623
- name: Checkout repository

0 commit comments

Comments
 (0)