From a8416015c923919e36e35822af9f742b6a4f024e Mon Sep 17 00:00:00 2001 From: Jan Buchar Date: Fri, 15 Nov 2024 17:36:28 +0100 Subject: [PATCH] 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 --- .github/workflows/python_unit_tests.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/python_unit_tests.yaml b/.github/workflows/python_unit_tests.yaml index a1c268b..3b2555f 100644 --- a/.github/workflows/python_unit_tests.yaml +++ b/.github/workflows/python_unit_tests.yaml @@ -2,15 +2,22 @@ name: Unit tests on: workflow_call: + secrets: + httpbin_url: + required: false + description: Used to set the HTTPBIN_URL environment variable jobs: unit_tests: name: Unit tests strategy: + fail-fast: false matrix: 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 }} + env: + HTTPBIN_URL: ${{ secrets.httpbin_url || 'https://httpbin.org' }} steps: - name: Checkout repository