Skip to content

Commit

Permalink
Updating for workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
rhshah committed Sep 6, 2024
1 parent 2637f7f commit 75de514
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test_bam_collapsing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Install Test data
run: |
bash get_test_data.sh
- name: Test with tox
id: run-tox
run: tox -vv
Expand Down
16 changes: 8 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ deps =

passenv = {gh-actions,pytest}

whitelist_externals =
wget
chmod
tar
goodls
commands_pre = ./get_test_data.sh
commands =
py.test --capture=sys --basetemp={envtmpdir} tests
passenv = {gh-actions,pytest}
# allowlist_externals= /bin/bash
# install data
# commands_pre = bash install_data.sh
# install testing framework
deps = -r ./requirements.txt
# run the tests
commands = pytest

0 comments on commit 75de514

Please sign in to comment.