Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: extras for the action #799

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ jobs:
- uses: ./
with:
python-versions: "3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, pypy-2.7, pypy-3.7, pypy-3.8, pypy-3.9, pypy-3.10"
- run: nox --non-interactive --error-on-missing-interpreter --session github_actions_all_tests
extras: uv
- run: nox --non-interactive --error-on-missing-interpreter --session github_actions_all_tests --default-venv-backend uv
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ inputs:
description: "comma-separated list of python versions to install"
required: false
default: "3.8, 3.9, 3.10, 3.11, 3.12, pypy-3.9, pypy-3.10"
extras:
description: "comma-separated list of extras to install"
required: false
default: ""
branding:
icon: package
color: blue
Expand All @@ -31,5 +35,5 @@ runs:
allow-prereleases: true

- name: "Install nox"
run: pipx install --python "${{ steps.allpython.outputs.python-path }}" '${{ github.action_path }}'
run: pipx install --python "${{ steps.allpython.outputs.python-path }}" "${{ github.action_path }}${{ inputs.extras != '' && format('[{0}]', inputs.extras) || ''}}"
shell: bash
Loading