Skip to content

Commit

Permalink
test bin dirs input in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanMainguy committed Jun 16, 2024
1 parent ffad8f4 commit ca1df58
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/binette_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,26 @@ jobs:
repository: genotoul-bioinfo/Binette_TestData
path: test_data

- name: Run simple test case
- name: Run simple test case from bin2table
run: |
cd test_data
binette -b binning_results/* --contigs all_contigs.fna --checkm2_db checkm2_tiny_db/checkm2_tiny_db.dmnd -v -o test_results
- name: Compare results with expectation
- name: Compare results from bin2table with expectation
run: |
cd test_data
head expected_results/final_bins_quality_reports.tsv test_results/final_bins_quality_reports.tsv
python scripts/compare_results.py expected_results/final_bins_quality_reports.tsv test_results/final_bins_quality_reports.tsv
- name: Run simple test case from bin dirs
run: |
cd test_data
binette -d binning_results/A/ binning_results/B/ binning_results/C/ --contigs all_contigs.fna --checkm2_db checkm2_tiny_db/checkm2_tiny_db.dmnd -v -o test_results_from_dirs
- name: Compare results from bin dirs with expectation
run: |
cd test_data
head expected_results/final_bins_quality_reports.tsv test_results_from_dirs/final_bins_quality_reports.tsv
python scripts/compare_results.py expected_results/final_bins_quality_reports.tsv test_results_from_dirs/final_bins_quality_reports.tsv

0 comments on commit ca1df58

Please sign in to comment.