Skip to content

Commit a29a3f4

Browse files
authored
Autocorrelation function (#20)
* Adding autocorrelation function to QDyn! Tested on OH radical producing correct eigenenergies. * Updating test outputs with new autocorrelation keyword printing * Adding 1D autocorrelation function test Test compares eigenenergies obtained from autocorrelation function and from IT dynamics. * Adding scipy to python in CI tests.yml * Checking also skipped tests in tests.yml * Fixing errors in tests.yml
1 parent 3af3637 commit a29a3f4

28 files changed

Lines changed: 31107 additions & 754 deletions

File tree

.github/workflows/tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
sudo apt-get install -y \
2323
build-essential gfortran make \
2424
libfftw3-dev liblapack-dev \
25-
python3 python3-numpy
25+
python3 python3-pip python3-numpy
26+
python3 -m pip install scipy
2627
2728
# 3️⃣ Compile the QDyn executable (bin ends up in src/qdyn)
2829
- name: Build qdyn
@@ -43,4 +44,9 @@ jobs:
4344
if grep "ERROR found" test_output.log; then
4445
echo "Some tests failed — see log above."
4546
exit 1
47+
elif grep "SKIP found" test_output.log; then
48+
echo "Some tests skipped — see log above."
49+
exit 1
50+
else
51+
echo "All tests passed."
4652
fi

0 commit comments

Comments
 (0)