-
-
Notifications
You must be signed in to change notification settings - Fork 11
42 lines (38 loc) · 974 Bytes
/
test.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: Test
on:
push:
branches:
- master
pull_request:
branches:
- master
permissions: read-all
concurrency:
# Cancel previous runs of this workflow for the same branch
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
mamba-version: "*"
activate-environment: pari-jupyter-test
environment-file: test/environment.yml
python-version: 3.9
auto-activate-base: false
- name: Conda list
shell: bash -l {0}
run: |
conda info
conda list
- name: Install pari-jupyter
shell: bash -l {0}
run: pip install --verbose --no-build-isolation .
- name: Run test
shell: bash -l {0}
run: |
cd test
python test_pari_jupyter_kernel.py