Daily Predict Average Increase #90
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: Daily Predict Average Increase | |
on: | |
schedule: | |
- cron: "0 7 * * *" | |
workflow_dispatch: | |
jobs: | |
Predict-average-increase: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Poetry | |
run: pipx install poetry | |
- name: Setup Python | |
uses: actions/[email protected] | |
with: | |
python-version: 3.11 | |
cache: poetry | |
- name: Install project dependencies | |
run: | | |
poetry install | |
working-directory: packages/celestia-models | |
- name: Run Predict Average Increase | |
env: | |
NEON_CONNECTION_STRING: ${{ secrets.NEON_CONNECTION_STRING }} | |
DATABASE: ${{ secrets.DATABASE }} | |
NEON_USER: ${{ secrets.NEON_USER }} | |
NEON_PASSWORD: ${{ secrets.NEON_PASSWORD }} | |
NEON_HOST: ${{ secrets.NEON_HOST }} | |
NEON_PORT: ${{ secrets.NEON_PORT }} | |
run: | | |
poetry run python predict_daily_average.py | |
working-directory: packages/celestia-models/pipeline |