Skip to content
Snippets Groups Projects
Commit 85e3f99b authored by Aaron Viets's avatar Aaron Viets
Browse files

Artifacts

parent f5b1a1f3
No related branches found
No related tags found
1 merge request!1CI development
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
......@@ -137,6 +137,20 @@ test:
- gst-inspect-1.0 gstlalcalibration
# run the tests
- python3 -m pytest
artifacts:
paths:
- tests/tests_pytest/*.txt
- tests/tests_pytest/ASD_data/*.png
- tests/tests_pytest/ASD_data/*asd.txt
- tests/tests_pytest/pcal_data/*.png
- tests/tests_pytest/pcal_data/*Pcal_0*.txt
- tests/tests_pytest/pcal_data/*Pcal_1*.txt
- tests/tests_pytest/act_data/*.png
- tests/tests_pytest/act_data/*Act_0*.txt
- tests/tests_pytest/act_data/*Act_1*.txt
- tests/tests_pytest/State_Vector_data/State_Vector_Approx.txt
- tests/tests_pytest/State_Vector_data/State_Vector_Exact.txt
expire_in: 24h
# Docker Images
......
......@@ -20,7 +20,7 @@ import matplotlib.pyplot as plt
def plot_ASD(hoft_f='Approx_hoft_asd.txt', clean_f='Approx_clean_asd.txt'):
plot_filename = 'tests/tests_pytest/' + hoft_f.split('.')[0] + '_plot.png'
plot_filename = 'tests/tests_pytest/ASD_data/' + hoft_f.split('.')[0] + '_plot.png'
hoft_f = 'tests/tests_pytest/ASD_data/' + str(hoft_f)
clean_f = 'tests/tests_pytest/ASD_data/' + str(clean_f)
hoft = np.loadtxt(hoft_f)
......@@ -92,7 +92,7 @@ def plot_pcal():
plt.xlabel('Time')
plt.ylabel('Phase')
plt.savefig('tests/tests_pytest/test_approx_pcal_plot_%s.png' % name)
plt.savefig('tests/tests_pytest/pcal_data/test_approx_pcal_plot_%s.png' % name)
plt.close()
np_lst_e = []
......@@ -118,7 +118,7 @@ def plot_pcal():
plt.xlabel('Time')
plt.ylabel('Phase')
plt.savefig('tests/tests_pytest/test_exact_pcal_plot_%s.png' % name)
plt.savefig('tests/tests_pytest/pcal_data/test_exact_pcal_plot_%s.png' % name)
plt.close()
......@@ -157,7 +157,7 @@ def plot_act():
plt.xlabel('Time')
plt.ylabel('Phase')
plt.savefig('tests/tests_pytest/test_approx_act_plot_%s.png' % name)
plt.savefig('tests/tests_pytest/act_data/test_approx_act_plot_%s.png' % name)
plt.close()
np_lst_e = []
......@@ -184,7 +184,7 @@ def plot_act():
plt.xlabel('Time')
plt.ylabel('Phase')
plt.savefig('tests/tests_pytest/test_exact_act_plot_%s.png' % name)
plt.savefig('tests/tests_pytest/act_data/test_exact_act_plot_%s.png' % name)
plt.close()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment