File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : CI
4+
5+ # Controls when the workflow will run
6+ on :
7+ pull_request :
8+ branches : [ "main" ]
9+
10+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
11+ jobs :
12+ # This workflow contains a single job called "test_notebooks"
13+ test_notebooks :
14+ # The type of runner that the job will run on
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
19+ - uses : actions/checkout@v3
20+ # fetch main branch
21+ - run : git fetch origin main:main
22+ - name : Setup .NET
23+ uses : actions/setup-dotnet@v3
24+ with :
25+ global-json-file : global.json
26+
27+ - name : Restore tool
28+ run : dotnet tool restore
29+
30+ - name : Perform a Pester test from the .tools/run_all_notebooks.ps1
31+ shell : pwsh
32+ run : |
33+ Invoke-Pester .tools/run_all_notebooks.ps1 -Passthru
34+ continue-on-error : true
35+
36+ - name : Upload output as artifact
37+ uses : actions/upload-artifact@v2
38+ with :
39+ name : output
40+ path : output
You can’t perform that action at this time.
0 commit comments