Skip to content

Commit 0629644

Browse files
authored
Merge pull request #4 from advanced-computing/lab_13_example
adding example
2 parents f3edced + a12cd5a commit 0629644

File tree

4 files changed

+547
-1
lines changed

4 files changed

+547
-1
lines changed

.github/workflows/update_data.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Updata Microsoft Stock Price Data
2+
3+
on:
4+
schedule:
5+
# weekly
6+
- cron: "0 0 * * 0"
7+
# support manual trigger
8+
workflow_dispatch:
9+
10+
jobs:
11+
update_data:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-python@v5
16+
with:
17+
python-version: "3.12"
18+
cache: pip
19+
- name: Install dependencies
20+
run: pip install -r requirements.txt
21+
- name: Update data
22+
run: python lab_13/update_data.py

0 commit comments

Comments
 (0)