Main #132
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: Main | |
on: | |
schedule: | |
- cron: '15 10 * * 5' | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
update_plot: | |
name: Testing | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.9' | |
- name: Clear pip cache | |
run: pip cache purge | |
- name: Install Dependencies | |
run: | | |
# Pin specific versions to prevent compatibility issues | |
pip install numpy==1.23.5 pandas==1.5.3 | |
pip install -r requirements.txt | |
- name: Main | |
env: | |
WAEL_BLOCKFROST_API_KEY: ${{ secrets.WAEL_BLOCKFROST_API_KEY }} | |
WAEL_PERSONAL_TOKEN: ${{ secrets.WAEL_PERSONAL_TOKEN }} | |
run: python davey-jones-locker.py | |
- name: Commit and Push Changes | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Actions" |