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 17315ff commit dee1bd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
# printing the current Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
Expand All @@ -28,13 +29,12 @@ jobs:
mkdir ncbi_datasets
curl -o ncbi_datasets/datasets 'https://ftp.ncbi.nlm.nih.gov/pub/datasets/command-line/v2/linux-amd64/datasets'
chmod +x ncbi_datasets/datasets
echo "export PATH=$PATH:$PWD/ncbi_datasets" >> $GITHUB_ENV
echo "export PATH=$PATH:ncbi_datasets" >> $GITHUB_ENV
which datasets
- name: Install pytest
run: |
pip install pytest
- name: Run tests
working-directory: mashpit/test
run: |
which datasets
pytest test.py

0 comments on commit dee1bd6

Please sign in to comment.