Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
cstub committed Jan 13, 2025
1 parent 006da9c commit 6262275
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/install-pkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Test Package Installation

on: [push, pull_request]

jobs:
build-and-test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.11', '3.12']

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4

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

- name: Install Poetry
uses: abatilo/actions-poetry@v3
with:
poetry-version: 1.8.5

- name: Build package
run: |
poetry build
- name: Test wheel installation
run: |
pip install dist/*.whl
python -c "import ipybox"
pip uninstall -y ipybox
- name: Test tarball installation
run: |
pip install dist/*.tar.gz
python -c "import ipybox"
pip uninstall -y ipybox

0 comments on commit 6262275

Please sign in to comment.