Skip to content

Commit

Permalink
switch to dev install (as torch is required to test inference now)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfl-urbaniak committed Mar 12, 2024
1 parent 8e23fd3 commit f7fb0ec
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[test]
pip install -e .[dev]
- name: Generate databases
run: python cities/utils/csv_to_db_pipeline.py
Expand Down
24 changes: 16 additions & 8 deletions .github/workflows/test_notebooks.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
name: Test notebooks

on:
schedule:
- cron: '0 0 * * 6' # Run at midnight on Saturdays
push:
branches: [ main ]
pull_request:
branches: [ main, staging-* ]
workflow_dispatch:
workflow_run:
workflows: ["Test"]
types:
- completed

# suspended as this wokrflow needs the db to be generated by the runner
# performing Test

# schedule:
# - cron: '0 0 * * 6' # Run at midnight on Saturdays
# push:
# branches: [ main ]
# pull_request:
# branches: [ main, staging-* ]
# workflow_dispatch:

jobs:
test:
Expand Down Expand Up @@ -39,7 +47,7 @@ jobs:
- name: Install Python packages
run: |
pip install --upgrade pip
pip install -e .[test]
pip install -e .[dev]
- name: Run Notebook Test
run: |
Expand Down

0 comments on commit f7fb0ec

Please sign in to comment.