Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed some dependencies to lighten up pypam's installation #136

Merged
merged 10 commits into from
Sep 9, 2024
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
Loading