AlexsLemonade / refinebio

Refine.bio harmonizes petabytes of publicly available biological data into ready-to-use datasets for cancer researchers and AI/ML scientists.
https://www.refine.bio/
Other
128 stars 19 forks source link

Fix test_salmon Missing salmontools and tximport test data #3213

Closed arkid15r closed 1 year ago

arkid15r commented 1 year ago

Context

In order to restore staging/prod deploy process CI/CD tests need to be fixed.

Problem or idea

Running all tests..
Downloading 'salmon quant' test data...
Cloning into '/home/runner/work/refinebio/refinebio/workers/test_volume/salmontools'...
fatal: could not read Username for 'https://github.com': No such device or address
Error: Process completed with exit code 128.

Solution or next step

Resolve exit code 128 error.

arkid15r commented 1 year ago

It seems to be caused by https://github.com/AlexsLemonade/refinebio/blob/c4b4a6ad9392b911eec754c81b50a0b05b5f4d41/workers/run_tests.sh#L82

  # Download salmontools test data
  rm -rf "$volume_directory"/salmontools/
  git clone https://github.com/dongbohu/salmontools_tests.git "$volume_directory"/salmontools

  # Download tximport test data
  rm -rf "$volume_directory"/tximport_test/
  git clone https://github.com/dongbohu/tximport_test.git "$volume_directory"/tximport_test

Need some ideas on how to resolve this.

arkid15r commented 1 year ago

I'd like some guidance on this as the tests/data might need to be updated since the salmontools test data is no longer available.

davidsmejia commented 1 year ago

closing this and opening: https://github.com/AlexsLemonade/refinebio/issues/3223