-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (33 loc) · 1.04 KB
/
predict-history-daily.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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