Skip to content

Commit 992a1da

Browse files
committed
Run the notebook on GitHub
1 parent dd77012 commit 992a1da

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

‎.github/workflows/run-notebook.yml‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Run notebook
2+
on:
3+
push:
4+
branches: [evaluation-updates]
5+
permissions:
6+
contents: write
7+
jobs:
8+
run:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-python@v5
13+
with:
14+
python-version: "3.13"
15+
- run: python -m pip install -r requirements.txt
16+
- run: python -m jupyter nbconvert --to notebook --execute --inplace --ExecutePreprocessor.timeout=1800 "Credit Card Fraud Project.ipynb"
17+
- run: |
18+
git config user.name "github-actions[bot]"
19+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
20+
git add -A
21+
git commit -m "Run notebook"
22+
git push

0 commit comments

Comments
 (0)