Skip to content

[pre-commit.ci] pre-commit autoupdate #783

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #783

Workflow file for this run

name: package install checks
on:
push:
branches:
- main
paths:
- .pre-commit-config.yaml
- .github/workflows/package.yml
- '**.py'
- poetry.lock
- pyproject.toml
- '**.ipynb'
pull_request:
branches:
- main
paths:
- .pre-commit-config.yaml
- .github/workflows/package.yml
- '**.py'
- poetry.lock
- pyproject.toml
- '**.ipynb'
jobs:
base-package-install-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.7
- name: Install pip
run: python3 -m pip install --upgrade pip
- uses: actions/setup-python@v5.2.0
with:
python-version: '3.10'
- name: Install package and test import
run: |
pip install -e .
pip install pytest
python3 -m pytest tests/package/*.py