Skip to content

Commit

Permalink
ci: workflows require [dev] installation to push to docdb (#87)
Browse files Browse the repository at this point in the history
* ci: workflows require [dev] installation to push to docdb

* refactor: move aind-data-access-api dependency -> [build]
  • Loading branch information
dbirman authored Oct 4, 2024
1 parent bb53a36 commit 043438b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_models_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
aws-region: ${{ env.AWS_DEFAULT_REGION }}
- name: Install dependencies
run: |
python -m pip install -e .
python -m pip install -e .[build]
- name: Publish models to docdb
run: |
python ./scripts/write_to_docdb.py
2 changes: 1 addition & 1 deletion .github/workflows/publish_models_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
aws-region: ${{ env.AWS_DEFAULT_REGION }}
- name: Install dependencies
run: |
python -m pip install -e .
python -m pip install -e .[build]
- name: Publish models to docdb
run: |
python ./scripts/write_to_docdb.py
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ dev = [
'isort',
'Sphinx',
'furo',
'aind-flake8-extensions==0.5.2',
'aind-flake8-extensions==0.5.2'
]

build = [
'aind-data-access-api[docdb]'
]

Expand Down

0 comments on commit 043438b

Please sign in to comment.