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

chore: add pipx integration test #259

Closed
wants to merge 1 commit into from
Closed
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
33 changes: 33 additions & 0 deletions .github/workflows/pipx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: pipx integration
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:

jobs:
integration:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest]
python: ["3.8", "3.10", "3.12"]

runs-on: ${{ matrix.os }}
steps:
- name: Clone gyp-next
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
- name: Setup dependencies
shell: bash
run: |
python3 -m pip install --user pipx
- name: Integration test with pipx
shell: bash
run: |
pipx run --no-cache --spec ./ gyp --help
pipx run --no-cache --spec ./ gyp --version
Loading