-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 1016 Bytes
/
ci.yml
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
name: kernel-test
on:
# We run CI on pushes to the main branch
push:
branches:
- main
# as well as one pushes to PRs targeting the main branch
pull_request:
branches:
- main
# as well as upon manual triggers through the 'Actions' tab of the Github UI
workflow_dispatch:
jobs:
kernel-test:
name: Testing Kernel Configurations
runs-on: ubuntu-latest
steps:
- name: Checking out xeus-cling-cmake-setup repository
uses: actions/checkout@v2
- name: Setting up Anaconda
uses: s-weigand/setup-conda@v1
- name: Install test prerequisites
run: |
python -m pip install -r ./test/requirements.txt
- name: Install xeus-cling
run: |
conda install xeus-cling jupyter -c conda-forge
- name: Building the kernels and manually installing them
run: |
cd test
./install_all_kernels.sh
- name: Run Pytest to check that all Jupyter notebooks can be reproduced
run: |
py.test --nbval