From 6039ddfc578e58810bdadfe4ad04f00462e3178d Mon Sep 17 00:00:00 2001 From: Joe Marshall Date: Wed, 2 Nov 2022 12:50:12 +0000 Subject: [PATCH 1/2] add pytest extra args option --- .github/workflows/main.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index fad5c7e4..6392461e 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -36,6 +36,10 @@ on: required: false type: string default: "ubuntu-latest" + pytest-extra-args: + required: false + type: string + default: "" driver-version: required: false type: string @@ -165,7 +169,8 @@ jobs: --cov=pytest_pyodide \ --dist-dir=./pyodide-dist/ \ --runner=${{ inputs.runner }} \ - --rt ${{ inputs.browser }} + --rt ${{ inputs.browser }} \ + ${{ inputs.pytest-extra-args }} - uses: codecov/codecov-action@v3 if: ${{ inputs.self-build==1 && (github.event.repo.name == 'pyodide/pytest-pyodide' || github.event_name == 'pull_request') }} From cd8afcad72d7175a526b278b105d66756abc96d4 Mon Sep 17 00:00:00 2001 From: Joe Marshall Date: Thu, 3 Nov 2022 18:53:33 +0000 Subject: [PATCH 2/2] Update .github/workflows/main.yaml Co-authored-by: Gyeongjae Choi --- .github/workflows/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 6392461e..c4d99bec 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -169,7 +169,7 @@ jobs: --cov=pytest_pyodide \ --dist-dir=./pyodide-dist/ \ --runner=${{ inputs.runner }} \ - --rt ${{ inputs.browser }} \ + --rt=${{ inputs.browser }} \ ${{ inputs.pytest-extra-args }} - uses: codecov/codecov-action@v3