Fix/virsorter2 #87
Workflow file for this run
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
name: Python unit tests | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master", "dev" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- name: update pip | |
run: | | |
python -m pip install --upgrade pip | |
- name: Install dependencies | |
run: | | |
pip install -r requirements-test.txt | |
pip install --upgrade pandas==1.4.0 | |
- name: Unit tests | |
run: | | |
# TODO, improve the pythonpath handling | |
export PYTHONPATH="$PYTHONPATH:bin" | |
python -m unittest discover tests |