@@ -71,17 +71,13 @@ jobs:
71
71
auto-update-conda : true
72
72
python-version : 3.9.1
73
73
74
- # - name: Restore conda environment cache
75
- # uses: actions/cache@v2
76
- # with:
77
- # path: C:\Miniconda\envs\diff_check
78
- # key: ${{ runner.os }}-conda-${{ hashFiles('environment.yml') }}
79
- # restore-keys: |
80
- # ${{ runner.os }}-conda-
81
-
82
- - name : Create diff_check conda environment
83
- run : |
84
- conda env create -f environment.yml
74
+ - name : Restore conda environment cache
75
+ uses : actions/cache@v2
76
+ with :
77
+ path : C:\Miniconda\envs\diff_check
78
+ key : ${{ runner.os }}-conda-${{ hashFiles('environment.yml') }}
79
+ restore-keys : |
80
+ ${{ runner.os }}-conda-
85
81
86
82
- name : Activate diff_check conda environment
87
83
run : |
@@ -98,22 +94,26 @@ jobs:
98
94
run : |
99
95
ls doc
100
96
101
- # TODO: testing if it works for dlls import
102
- - name : Set environment variables
103
- run : |
104
- $env:PATH += ";$PWD"
105
- $env:PYTHONPATH += ";$PWD"
106
- - name : Set environment variables x2
97
+ # TODO: testing import with test file test_pybind_dll_smoke.py to remove
98
+ - name : tester test_pybind_dll_smoke.py
107
99
run : |
108
- $env:PATH += ";${{ github.workspace }}\\ doc"
109
- $env:PYTHONPATH += "; ${{ github.workspace }}\\doc"
100
+ python doc/test_pybind_dll_smoke.py
101
+ working-directory : ${{github.workspace}}
110
102
111
103
- name : Sphinx build
112
104
run : |
113
105
conda run --name diff_check --no-capture-output sphinx-build doc _build
114
106
working-directory : ${{github.workspace}}
115
107
116
108
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
117
# page-deployement:
118
118
# runs-on: windows-latest
119
119
# # FIXME: we should replace this with the action to deploy to gh-pages
0 commit comments