diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c4826890..4e5e5500 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }} @@ -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 #---------------------------------------------- diff --git a/.github/workflows/test_import.yaml b/.github/workflows/test_import.yaml new file mode 100644 index 00000000..6de79516 --- /dev/null +++ b/.github/workflows/test_import.yaml @@ -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" diff --git a/README.md b/README.md index 002fefbe..ecaa6bfc 100644 --- a/README.md +++ b/README.md @@ -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.