bb #146
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 CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install requirements dependencies | |
run: | | |
pip install cyvcf2==0.31.1 | |
pip install numpy==2.0.1 | |
pip install pandas==2.2.2 | |
pip install statsmodels==0.14.4 | |
pip install qmplot==0.3.3 | |
pip install scipy==1.14.1 | |
pip install setuptools==75.6.0 | |
pip install scikit-learn==1.6.0 | |
pip install matplotlib==3.9.4 | |
pip install seaborn==0.13.2 | |
pip install plotly==5.24.1 | |
pip install pytest==8.3.4 | |
- name: Clean up existing libbdsg directory | |
run: | | |
rm -rf libbdsg | |
- name: Install libbdsg | |
run: | | |
sudo apt-get install -y --no-install-recommends libjansson-dev doxygen | |
git clone --recursive https://github.com/vgteam/libbdsg.git | |
pip install ./libbdsg | |
- name: Run pytest tests | |
run: python3 -m pytest |