Skip to content

tests: consolidate data in subdirectories #4229

tests: consolidate data in subdirectories

tests: consolidate data in subdirectories #4229

Workflow file for this run

name: pytest
on: [push]
env:
# See: https://github.com/jupyter/jupyter_core/pull/292#issuecomment-1258284246
JUPYTER_PLATFORM_DIRS: "1"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.9", "3.11"]
steps:
- uses: actions/checkout@v3
with:
lfs: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: setup.py
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[notebook]
- name: Pytest
run: |
cd .github/workflows
python pylake_test.py
- name: Benchmark
run: python -c "import lumicks.pylake as lk; lk.benchmark(repeat=1)"
- name: Black
run: |
pip install black==22.3.0
black --check --diff --color .
- name: flake8
run: |
pip install flake8 flake8-bugbear
flake8 .