@@ -13,7 +13,7 @@ defaults:
13
13
shell : bash -l -eo pipefail {0}
14
14
15
15
jobs :
16
- test :
16
+ test-unix :
17
17
strategy :
18
18
matrix :
19
19
os : [ubuntu-latest, macos-latest]
@@ -27,11 +27,11 @@ jobs:
27
27
environment-name : xeus-octave
28
28
cache-downloads : true
29
29
- name : Configure
30
- run : cmake --preset conda-debug
30
+ run : cmake --preset conda-debug-unix
31
31
- name : Build
32
- run : cmake --build --preset conda-debug
32
+ run : cmake --build --preset conda-debug-unix
33
33
- name : Install
34
- run : cmake --install build/cmake/conda-debug
34
+ run : cmake --install build/cmake/conda-debug-unix
35
35
- name : Test
36
36
run : python -m pytest ./test -k 'not plot'
37
37
- name : Plotly toolkit test
42
42
sudo apt-get update && sudo apt-get install libgl1-mesa-dev xvfb
43
43
xvfb-run python -m pytest ./test -k 'plot_notebook'
44
44
45
+ test-win :
46
+ runs-on : ${{ matrix.os }}
47
+ strategy :
48
+ matrix :
49
+ os : [ windows-latest]
50
+ steps :
51
+ - uses : actions/checkout@v3
52
+ - name : Install mamba
53
+ uses : mamba-org/provision-with-micromamba@v13
54
+ with :
55
+ environment-file : environment-dev.yml
56
+ environment-name : xeus-octave
57
+ cache-downloads : true
58
+ - name : micromamba shell hook
59
+ shell : powershell
60
+ run : micromamba shell hook -s cmd.exe -p C:\Users\runneradmin\micromamba
61
+ - name : Configure
62
+ shell : cmd
63
+ run : |
64
+ call C:\Users\runneradmin\micromamba\condabin\micromamba.bat activate xeus-octave
65
+ cmake --preset conda-debug-win
66
+ - name : Build
67
+ shell : cmd
68
+ run : |
69
+ call C:\Users\runneradmin\micromamba\condabin\micromamba.bat activate xeus-octave
70
+ cmake --build --preset conda-debug-win
71
+ - name : Install
72
+ shell : cmd
73
+ run : |
74
+ call C:\Users\runneradmin\micromamba\condabin\micromamba.bat activate xeus-octave
75
+ cmake --install build\cmake\conda-debug-win
76
+ - name : Test
77
+ shell : cmd
78
+ run : |
79
+ call C:\Users\runneradmin\micromamba\condabin\micromamba.bat activate xeus-octave
80
+ pytest test
81
+
45
82
static-analysis :
46
83
runs-on : " ubuntu-latest"
47
84
steps :
0 commit comments