We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c517811 + a5992bf commit 4e3a0a8Copy full SHA for 4e3a0a8
.github/workflows/test.yml
@@ -0,0 +1,36 @@
1
+name: Test
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ branches: "*"
9
10
+jobs:
11
+ build:
12
+ runs-on: ${{ matrix.os }}-latest
13
14
+ strategy:
15
+ fail-fast: false
16
+ matrix:
17
+ os: [ubuntu, macos, windows]
18
+ python-version: ["3.7", "3.10"]
19
20
+ steps:
21
+ - name: Checkout
22
+ uses: actions/checkout@v2
23
24
+ - name: Base Setup
25
+ uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
26
27
+ - name: Install pip dependencies
28
+ run: |
29
+ pip install -v -e ".[test]" pytest-cov
30
+ - name: Check pip environment
31
32
+ pip freeze
33
+ pip check
34
+ - name: Test with pytest
35
36
+ pytest -vv --cov=notebook_shim notebook_shim --cov-report term-missing:skip-covered
0 commit comments