Skip to content

Commit

Permalink
unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
tongzhouxu committed Mar 26, 2024
1 parent b9bf720 commit 908b4c1
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,25 @@ jobs:
python-version: ${{ matrix.python-version }}
cache: 'pip'
# printing the current Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
- 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
mv datasets $HOME/.local/bin
echo "$HOME/.local/bin" >> $GITHUB_PATH
which datasets
- name: Check datasets location
run: ls -l $HOME/.local/bin/datasets
- name: Check PATH
run: echo $PATH
- name: Run datasets
run: datasets --version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
- name: Install pytest
run: |
pip install pytest
Expand Down

0 comments on commit 908b4c1

Please sign in to comment.