Skip to content

add CITATION.cff and JOSS badge #84

add CITATION.cff and JOSS badge

add CITATION.cff and JOSS badge #84

Workflow file for this run

name: unittest
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
# printing the current Python version
- name: Download and set up ncbi datasets client
run: |
curl -o datasets 'https://ftp.ncbi.nlm.nih.gov/pub/datasets/command-line/v2/linux-amd64/datasets'
chmod +x datasets
mkdir -p $HOME/.local/bin
mv datasets $HOME/.local/bin
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install HDF5
run: sudo apt-get update && sudo apt-get install -y libhdf5-dev
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .
- name: Install pytest
run: |
pip install pytest
- name: Run tests
working-directory: test
run: |
pytest test.py