Skip to content

daily

daily #208

Workflow file for this run

name: daily
on:
schedule:
# run at the end of every day
- cron: "0 0 * * 1,2,3,4,5"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v3
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Set up R
uses: r-lib/actions/setup-r@v2
- name: install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: run python scripts
run: |
python backtest.py
python sparse.py
- name: commit outputs
run: |
git config --local user.name "GitHub Actions"
git config --local user.email "raghuram_actions@github.com"
git add .
git commit -m "updated outputs"
git push