Skip to content

Commit 9b47894

Browse files
author
Daniel Standage
authored
Troubleshoot CI (#1)
This update is fixing bugs in the CI configuration for GitHub Actions.
1 parent 931e51f commit 9b47894

1 file changed

Lines changed: 19 additions & 4 deletions

File tree

.github/workflows/cibuild.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)