File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,15 +21,30 @@ jobs:
2121 uses : actions/setup-python@v1
2222 with :
2323 python-version : ${{ matrix.python-version }}
24- - name : Install
24+ - name : Environment setup
2525 run : |
2626 conda env create -f environment.yaml
27+ - name : Taxonomy data download
28+ run : |
29+ mkdir ~/.taxonkit
30+ pushd ~/.taxonkit
31+ wget ftp://ftp.ncbi.nih.gov/pub/taxonomy/taxdump.tar.gz
32+ tar -xzf taxdump.tar.gz
33+ popd
34+ - name : Install
35+ run : |
36+ source $(conda info --base)/etc/profile.d/conda.sh
2737 conda activate pytaxonkit
28- mkdir ~/.taxonkit && pushd ~/.taxonkit && wget ftp://ftp.ncbi.nih.gov/pub/taxonomy/taxdump.tar.gz && tar -xzf taxdump.tar.gz && popd
2938 python -m pip install --upgrade pip
3039 pip install .
3140 make devenv
3241 - name : Style check
33- run : make style
42+ run : |
43+ source $(conda info --base)/etc/profile.d/conda.sh
44+ conda activate pytaxonkit
45+ make style
3446 - name : Test with pytest
35- run : make test
47+ run : |
48+ source $(conda info --base)/etc/profile.d/conda.sh
49+ conda activate pytaxonkit
50+ make test
You can’t perform that action at this time.
0 commit comments