You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/readme_listings.yml
+28-1Lines changed: 28 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@ jobs:
97
97
98
98
assert:
99
99
runs-on: ubuntu-latest
100
-
needs: [julia, python, matlab, fortran]
100
+
needs: [julia, python, matlab, fortran, cpp]
101
101
steps:
102
102
- uses: actions/setup-python@v2
103
103
- run: pip install numpy
@@ -107,6 +107,33 @@ jobs:
107
107
merge-multiple: true
108
108
path: readme_output
109
109
- run : python -c 'import numpy as np; import os; dir="readme_output/"; data=[float(np.loadtxt(dir+file)) for file in os.listdir(dir)]; print("data:", data); similar_as_first = np.array([abs(data[0]-k)/data[0] for k in data[1:]]); print("similar_as_first", similar_as_first); assert((similar_as_first < .5).all())'
COMMAND${PYTHON_EXECUTABLE}"-c""import sys; print(''.join([line.replace(')','').replace('set(','#define ').replace('PACKAGE_', 'CAMP_') for line in sys.stdin if line.startswith('set(PACKAGE_VERSION')]))"
342
+
COMMAND${Python_EXECUTABLE}"-c""import sys; print(''.join([line.replace(')','').replace('set(','#define ').replace('PACKAGE_', 'CAMP_') for line in sys.stdin if line.startswith('set(PACKAGE_VERSION')]))"
0 commit comments