Skip to content

Commit

Permalink
🔧 Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
daquintero committed Jul 29, 2024
1 parent 791a45e commit 5d2a0fc
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install pre-commit
pre-commit run # this should be really more agressive
pre-commit run # this should be really more aggressive
build:
name: test ${{ matrix.python-version }} - ${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
Expand Down Expand Up @@ -58,6 +58,7 @@ jobs:
git config --local user.name "github-actions[bot]"
poetry --version
poetry install -E dev
#----------------------------------------------
# add matrix specifics and run test suite
#----------------------------------------------
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/test_import.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Test Package Import

on: [push, pull_request]

jobs:
test-import:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.10, 3.11, 3.12]

steps:
- name: Checkout code
uses: actions/checkout@v3

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

- name: Install dependencies - basic
run: |
python -m pip install --upgrade pip
pip install .
- name: Test package import - basic
run: |
python -c "import piel"
python -c "import piel.experimental"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: Test package import
run: |
python -c "import piel"
python -c "import piel.experimental"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ quantum, and more.
- Co-simulation and optimisation between integrated photonic and
electronic chip design.
- System interconnection modelling in multiple domains.
- Experimental and simulation data integration and management.
- Chip and interposer design integration.
- Co-design components to circuits flow.
- Maintain a multi-tool dependency design environment.
Expand Down

0 comments on commit 5d2a0fc

Please sign in to comment.