Skip to content

Commit

Permalink
Merge pull request #136 from lifewatch/dependencies_clean_up
Browse files Browse the repository at this point in the history
removed some dependencies to lighten up pypam's installation
  • Loading branch information
cparcerisas authored Sep 9, 2024
2 parents ac59d84 + 5668407 commit 30479b0
Show file tree
Hide file tree
Showing 4 changed files with 1,487 additions and 2,112 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,10 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-versions }}

- name: Install dependencies
run: |
sudo apt-get install libsndfile1
make init-dev
run: |
make init-test
- name: Run unit tests
run: |
export POETRY_PYPAM_TEST_NO_PLOTS=make test
PYPAM_TEST_NO_PLOTS= make test
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@ init: startup
poetry install

init-dev: startup
poetry install --extras 'tests' --extras 'dev' --extras 'docs'
poetry install --with test, docs, dev

init-test: startup
poetry install --with test

init-docs: startup
poetry install --extras 'docs'
poetry install --with docs

docs:
if ! [ -d "./docs" ]; then poetry run sphinx-quickstart -q --ext-autodoc --sep --project $(PROJECT) --author $(AUTHOR) docs; fi
Expand Down
Loading

0 comments on commit 30479b0

Please sign in to comment.