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
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]

steps:
- uses: actions/checkout@v4

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

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .

- name: Run tests
run: |
python -m unittest discover -s tests
27 changes: 27 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy Docs

on:
push:
branches: [ main ]

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install dependencies
run: |
pip install .
- name: Configure Git User
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Deploy
run: mkdocs gh-deploy --force
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,4 @@ example/binary_collections/*

# symlinked schema
*/.ndi
site/
1 change: 0 additions & 1 deletion DID-python
Submodule DID-python deleted from 97ba45
1 change: 0 additions & 1 deletion NDI-compress-python
Submodule NDI-compress-python deleted from 0c05d9
1 change: 0 additions & 1 deletion NDI-matlab
Submodule NDI-matlab deleted from fc9967
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
site_name: NDI-python
theme:
name: material
nav:
- Home: index.md
- Cache: cache.md
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ classifiers = [
dependencies = [
"did @ git+https://github.com/VH-Lab/DID-python.git@main",
"mkdocs",
"mkdocs-material",
"pandas",
"requests",
"ndi-compress @ git+https://github.com/Waltham-Data-Science/NDI-compress-python",
Expand Down
144 changes: 0 additions & 144 deletions site/404.html

This file was deleted.

Loading