This PR adds a workflow to run the automated tests. It is ran whenever a new commit is pushed and in the current state takes about 7 minutes.
Running the tests is somewhat involved because:
1) A PostgreSQL database needs to be set up to run the tests
2) A casacore container is required for lookup tables
3) The test data is located in a different repository: https://github.com/transientskp/trap-test-data
Item 2) can be simplified in the near future, because the tables we need for TraP are included in the python-casacore binary since the following PR was merged: https://github.com/casacore/python-casacore/pull/260
However, to make use of this we do need to wait for a new python-casacore release.
This would mean we would be able to pip install python-casacore and we would not have to run in the casacore container anymore.
This PR adds a workflow to run the automated tests. It is ran whenever a new commit is pushed and in the current state takes about 7 minutes.
Running the tests is somewhat involved because: 1) A PostgreSQL database needs to be set up to run the tests 2) A casacore container is required for lookup tables 3) The test data is located in a different repository: https://github.com/transientskp/trap-test-data
Item 2) can be simplified in the near future, because the tables we need for TraP are included in the python-casacore binary since the following PR was merged: https://github.com/casacore/python-casacore/pull/260 However, to make use of this we do need to wait for a new python-casacore release. This would mean we would be able to pip install python-casacore and we would not have to run in the casacore container anymore.