Skip to content

Commit

Permalink
Create ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
syarahmadi authored Apr 6, 2024
1 parent b710d41 commit 7c6df7a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI for Transformer Tutorials

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'

- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install nbconvert jupyter_client ipykernel
# Add other dependencies here, for example:
# pip install -r requirements.txt
- name: Execute Notebooks
run: |
find ./notebooks -name "*.ipynb" -exec jupyter nbconvert --to notebook --execute {} \;

0 comments on commit 7c6df7a

Please sign in to comment.