BU-ISCIII / relecov-tools

set of helper tools for the assembly of the different elements in the RELECOV platform (Spanish Network for genomic surveillance of SARS-Cov-2) as data download, processing, validation and upload to public databases, as well as analysis runs and database storage.
GNU General Public License v3.0
5 stars 21 forks source link

Splitted tests in two files, fixed pull-request checkout error #264

Closed Shettland closed 5 months ago

Shettland commented 5 months ago

As per the title, there were errors in the tests due to a weird functionality in actions/checkout related to pull_request option. When this option was activated, the tested code was the one from the repository receiving the pull request instead of the proper code that is going to be merged as seen in numerous issues.

I included the changes found in the documentation related to these issues.

Also, for better security, I only used pull_request_target when necessary (sftp_handle tests)