Skip to content

Commit

Permalink
add test for pip install
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahwooders committed Nov 21, 2024
1 parent d7a1ba7 commit 679b041
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test-pip-install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test Package Installation

on: [push, pull_request, workflow_dispatch]

jobs:
test-install:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.10, 3.11, 3.12] # Adjust Python versions as needed

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install package with extras
run: pip install .[all] # Replace 'all' with the key that includes all extras

- name: Check package installation
run: pip list # Or any other command to verify successful installation

0 comments on commit 679b041

Please sign in to comment.