trying a test notebook script

This commit is contained in:
Jonathan Taylor
2023-08-08 16:45:35 -07:00
parent 33665e596f
commit 02c3bc7a61

View File

@@ -4,14 +4,11 @@ name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
environment:
description: 'Environment to run tests against'
type: environment
required: true
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
@@ -25,12 +22,15 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
# Runs a single command using the runners shell
- name: Run a one-line script
run: echo Hello, world!
# Install
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install ISLP
pip install jupyter
# Runs a set of commands using the runners shell
- name: Run a multi-line script
- name: Build notebook
run: |
echo Add other actions to build,
echo test, and deploy your project.
jupyter nbconvert --execute Ch02-statlearn-lab.ipynb