diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index daaebb5f..d1706d2b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/.github/workflows/test_notebooks.yml b/.github/workflows/test_notebooks.yml index 03f23c62..7e192531 100644 --- a/.github/workflows/test_notebooks.yml +++ b/.github/workflows/test_notebooks.yml @@ -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: @@ -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: |