-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed contig mode filetype detection and implemeted first unit pytests
- Loading branch information
1 parent
1917934
commit da6a240
Showing
3 changed files
with
219 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# This workflow will install Python dependencies, run tests and lint with a single version of Python | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | ||
|
||
name: Python application | ||
|
||
on: | ||
push: | ||
branches: [ "master", "v1.5.0" ] | ||
pull_request: | ||
branches: [ "master", "v1.5.0" ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python 3.12 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.12" | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install ncbi-blast+ clustalw -y | ||
sudo apt-get install python3-pip python3-numpy python3-pandas -y | ||
python3 -m pip install --upgrade pip setuptools | ||
pip3 install pytest "biopython>=>=1.7,<1.78 | ||
if [ -f requirements.txt ]; then | ||
pip3 install -r requirements.txt; | ||
else | ||
pip3 install -e . | ||
fi | ||
ectyper_init | ||
- name: Test with pytest | ||
run: | | ||
pytest -o log_cli=true --basetemp=tmp-pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.