Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: docs
on:
push:
branches: [main]
paths-ignore: [.github/**, '*.md']
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with: {python-version: '3.12'}
- run: pip install "mkdocs-material>=9,<10" pdoc
- run: mkdocs gh-deploy --force --clean
4 changes: 2 additions & 2 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install . pytest pytest-cov pytest-benchmark
python -m pip install '.[dev]'
- name: Test with pytest and check test coverage
run: |
pytest --cov=ngraph --cov-fail-under=85
pytest
14 changes: 1 addition & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,7 @@ FROM base AS jupyterlab
RUN pip install --no-cache-dir --upgrade pip setuptools wheel

# Install Python packages
RUN pip install --no-cache-dir \
numpy \
pandas \
matplotlib \
seaborn \
build \
twine \
pytest \
pytest-cov \
pytest-benchmark \
pytest-mock \
pylint \
black
RUN pip install --no-cache-dir '.[dev]'

# Install JupyterLab and LSP
RUN pip install --no-cache-dir \
Expand Down
Loading