Skip to content

Commit

Permalink
added download test data step for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
weiju committed Mar 11, 2024
1 parent fd0c340 commit 3c3ed70
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 41 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Download and extract test data
run: |
wget https://networks.systemsbiology.net/downloads/miner-examples/miner_mindata.tar.gz
tar xfz miner_mindata.tar.gz
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand Down
104 changes: 63 additions & 41 deletions Example MINER Analysis.ipynb

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions test/preprocess_test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env python3
import sys
import os
import pytest

#import pandas as pd
Expand Down Expand Up @@ -61,3 +62,6 @@ def test_preprocess_main_simple(self):

def test_dummy():
pass

def test_has_testdir():
assert os.path.exists('miner_mindata')

0 comments on commit 3c3ed70

Please sign in to comment.