Skip to content

Commit

Permalink
Troubleshoot CI (#1)
Browse files Browse the repository at this point in the history
This update is fixing bugs in the CI configuration for GitHub Actions.
  • Loading branch information
standage authored Jun 12, 2020
1 parent 931e51f commit 9b47894
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/cibuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,30 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install
- name: Environment setup
run: |
conda env create -f environment.yaml
- name: Taxonomy data download
run: |
mkdir ~/.taxonkit
pushd ~/.taxonkit
wget ftp://ftp.ncbi.nih.gov/pub/taxonomy/taxdump.tar.gz
tar -xzf taxdump.tar.gz
popd
- name: Install
run: |
source $(conda info --base)/etc/profile.d/conda.sh
conda activate pytaxonkit
mkdir ~/.taxonkit && pushd ~/.taxonkit && wget ftp://ftp.ncbi.nih.gov/pub/taxonomy/taxdump.tar.gz && tar -xzf taxdump.tar.gz && popd
python -m pip install --upgrade pip
pip install .
make devenv
- name: Style check
run: make style
run: |
source $(conda info --base)/etc/profile.d/conda.sh
conda activate pytaxonkit
make style
- name: Test with pytest
run: make test
run: |
source $(conda info --base)/etc/profile.d/conda.sh
conda activate pytaxonkit
make test

0 comments on commit 9b47894

Please sign in to comment.