-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (36 loc) · 1.03 KB
/
main.yml
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
36
37
38
39
40
41
42
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"