Skip to content

Commit

Permalink
checking and altering path for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
RAHenriksen committed Nov 13, 2024
1 parent 101db11 commit 3f310c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/bifrost_sp_ecoli_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,6 @@ jobs:
git clone https://github.com/ssi-dk/bifrost_test_data.git;
cd bifrost_test_data/samples;
bash download_S1.sh
- name: List files in test directory
run: |
ls -lh /home/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }}
pwd
- name: List all files recursively
run: |
Expand All @@ -94,4 +89,4 @@ jobs:
--env BIFROST_DB_KEY=${{ secrets.MONGODB_ATLAS_CONNECTION }}/bifrost_test \
-v /home/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }}/bifrost_test_data:/bifrost/test_data \
${{ github.event.repository.name }} \
bash -c "pip list && pytest /bifrost/components/${{ github.event.repository.name }}/test/test_*.py"
bash -c "pip list && pytest /home/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }}/test"
2 changes: 1 addition & 1 deletion test/test_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class TestBifrostMinReadCheck:
bifrost_install_dir = os.environ["BIFROST_INSTALL_DIR"]

# test_dir = "/bifrost/test_data/output/test__whats_my_species/"
test_dir = f"{bifrost_install_dir}/bifrost/test_data/output/test__whats_my_species/"
test_dir = f"{bifrost_install_dir}/bifrost/test_data/output/test_bifrost_sp_ecoli/"
r1 = f"{bifrost_install_dir}/bifrost/test_data/samples/S1_R1.fastq.gz"
r2 = f"{bifrost_install_dir}/bifrost/test_data/samples/S1_R2.fastq.gz"

Expand Down

0 comments on commit 3f310c4

Please sign in to comment.