From 1be4ba1dfd06190ab977b7611fd4d38617c38ced Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Mon, 23 Jun 2025 12:25:37 +0200 Subject: [PATCH 1/2] TST: add a job without dependency groups --- .github/workflows/test_action.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/test_action.yml b/.github/workflows/test_action.yml index d31d2ed..e3a0169 100644 --- a/.github/workflows/test_action.yml +++ b/.github/workflows/test_action.yml @@ -31,3 +31,16 @@ jobs: test_groups: test test_extras: recommended test_command: pytest --pyargs test_package + + build_no_groups: + name: Test action (default, no groups) + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - id: build + uses: ./ + with: + pure_python_wheel: true + test_extras: recommended + test_command: python -c 'import test_package' From d5522d9bdbf7f825d86c27989c122f6df556d7cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Mon, 23 Jun 2025 12:36:57 +0200 Subject: [PATCH 2/2] BUG: fix invalid parsing for default `test_groups=''` --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index bed5d03..9ca2adf 100644 --- a/action.yml +++ b/action.yml @@ -60,6 +60,7 @@ runs: shell: bash run: | echo "group_flags=$( python -c "print(' '.join(f'--group {g.strip()}' for g in '${{ inputs.test_groups }}'.split(',')))" ) " >> "$GITHUB_ENV" + if: ${{ inputs.test_groups != '' }} - name: Test source distribution shell: bash