@@ -31,26 +31,26 @@ jobs:
31
31
32
32
- name : Install requirements
33
33
run : |
34
- pip install -r requirements.txt
35
- pip install -r docs/requirements.txt
36
-
34
+ python -m pip install -r requirements.txt
35
+ python -m pip install -r docs/requirements.txt
36
+
37
37
- name : Install lcov
38
38
run : |
39
39
sudo apt-get update
40
40
sudo apt-get install -y lcov
41
41
42
42
- name : Build package
43
43
run : |
44
- CXXFLAGS=-- coverage CFLAGS=--coverage python scripts/build/install.py
45
- # coverage tests
44
+ CXXFLAGS="-std=c++17 -- coverage" CFLAGS=" --coverage" python scripts/build/install.py
45
+ # coverage tests
46
46
- name : Run tests
47
47
run : |
48
48
python -m pytest --doctest-modules --cov=./ --cov-report=xml -s
49
49
50
50
- name : Capture Coverage Data with lcov
51
51
run : |
52
52
lcov --capture --directory . --output-file coverage.info --no-external
53
-
53
+
54
54
- name : Generate HTML Coverage Report with genhtml
55
55
run : |
56
56
genhtml coverage.info --output-directory coverage_report
@@ -97,12 +97,12 @@ jobs:
97
97
98
98
- name : Install requirements
99
99
run : |
100
- pip install -r requirements.txt
101
- pip install -r docs/requirements.txt
100
+ python -m pip install -r requirements.txt
101
+ python -m pip install -r docs/requirements.txt
102
102
103
103
- name : Build package
104
104
run : |
105
- python scripts/build/install.py
105
+ CXXFLAGS="-std=c++17" python scripts/build/install.py
106
106
107
107
- name : Run tests
108
108
run : |
@@ -138,12 +138,12 @@ jobs:
138
138
139
139
- name : Install requirements
140
140
run : |
141
- pip install -r requirements.txt
142
- pip install -r docs/requirements.txt
141
+ python -m pip install -r requirements.txt
142
+ python -m pip install -r docs/requirements.txt
143
143
144
144
- name : Build package
145
145
run : |
146
- python scripts/build/install.py
146
+ CXXFLAGS="-std=c++17" python scripts/build/install.py
147
147
148
148
- name : Run tests
149
149
run : |
@@ -186,10 +186,12 @@ jobs:
186
186
187
187
- name : Install requirements
188
188
run : |
189
- pip install -r requirements.txt
190
- pip install -r docs/requirements.txt
189
+ python -m pip install -r requirements.txt
190
+ python -m pip install -r docs/requirements.txt
191
191
192
192
- name : Build package
193
+ env :
194
+ CL : " /std:c++17"
193
195
run : |
194
196
python scripts/build/install.py
195
197
0 commit comments