Skip to content

Implemented DPMON, cleaned up old files, updated documentation. #9

Implemented DPMON, cleaned up old files, updated documentation.

Implemented DPMON, cleaned up old files, updated documentation. #9

Workflow file for this run

name: BioNeuralNet
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.8', '3.9', '3.10']
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
check-latest: true
- name: List scripts directory contents
run: ls -la scripts/
- name: Install dependencies with fast-install.py
shell: bash
run: |
if [ "${{ matrix.os }}" = "windows-latest" ]; then
python scripts/fast-install.py
else
chmod +x scripts/setup-env.sh
chmod +x scripts/setup-R.sh
python scripts/fast-install.py
fi
- name: Verify R installation
shell: bash
run: |
R --version
Rscript -e "library(WGCNA); cat('WGCNA loaded successfully')"
- name: Run tests with pytest
run: |
pytest --cov=bioneuralnet --cov-report=xml tests/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
flags: unittests
name: codecov-umbrella