feature-pipeline #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: feature-pipeline | |
on: | |
schedule: | |
# Run at 0:00 UTC, which is 8:00PM EST | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
env: | |
PYTHON_VERSION: 3.9 | |
jobs: | |
feature_pipeline: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python 3.9 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements_feature_pipeline.txt | |
- name: Execute Python workflows from bash script | |
env: | |
HOPSWORKS_API_KEY: ${{ secrets.HOPSWORKS_API_KEY }} | |
HOPSWORKS_PROJECT_NAME: ${{ secrets.HOPSWORKS_PROJECT_NAME }} | |
run: jupyter nbconvert --to notebook --execute notebooks/06_ohlc_feature_pipeline.ipynb |