Skip to content

Replace broken ntbk.io short URLs with direct GitHub raw URLs #8

Replace broken ntbk.io short URLs with direct GitHub raw URLs

Replace broken ntbk.io short URLs with direct GitHub raw URLs #8

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
pull_request:
branches: [ "main" ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "test_notebooks"
test_notebooks:
# The type of runner that the job will run on
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
# fetch main branch
- run: git fetch origin main:main
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json
- name: Restore tool
run: dotnet tool restore
- name: Perform a Pester test from the .tools/run_all_notebooks.ps1
shell: pwsh
run: |
Invoke-Pester .tools/run_all_notebooks.ps1 -Passthru
continue-on-error: true
- name: Upload output as artifact
uses: actions/upload-artifact@v4
with:
name: output
path: output