-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (36 loc) · 1004 Bytes
/
ci.yaml
File metadata and controls
43 lines (36 loc) · 1004 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: "CI"
on:
push:
workflow_dispatch:
# Allow subsequently queued workflows to cancel previous runs
concurrency:
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} - CI"
cancel-in-progress: true
env:
FORCE_COLOR: "1"
jobs:
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Prettify code
uses: creyD/prettier_action@v4.3
with:
dry: true
prettier_options: --log-level debug --check .
Build-Notebooks:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Basic Notebooks
uses: ./.github/actions/build-notebooks
with:
context-directory: ./basic/code
python-version: 3.11
- name: GPU Notebooks
uses: ./.github/actions/build-notebooks
with:
context-directory: ./gpu/code
python-version: 3.11