Skip to content

.github/workflows/weekly_update.yml #18

.github/workflows/weekly_update.yml

.github/workflows/weekly_update.yml #18

Workflow file for this run

name: Weekly Python Script Run
on:
schedule: # delete to disable workflow
# * is a wildcard that matches any value
# 0 0 * * 0 means every Sunday at midnight
- cron: '0 0 * * 0'
workflow_dispatch: # enable manual runs
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Scra
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Debug Python environment
run: |
which python
python -c "import sys; print(sys.path)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r resources/requirements.txt # Install required packages
- name: Run main_Oracle.py
run: python main_Oracle.py