codegen: add Backward DP, Forward-Backward expected counts, posteriors, #88
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| cpp: | |
| name: C++ (macOS) | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: brew install gsl boost htslib pkg-config | |
| - name: Build | |
| run: make | |
| - name: Install Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Install npm dependencies | |
| run: npm install | |
| - name: Test | |
| run: make test | |
| python: | |
| name: Python | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install package with JAX extras | |
| run: pip install './python[jax]' pytest | |
| - name: Run tests | |
| run: pytest python/machineboss/ -v --ignore=python/machineboss/test/test_boss.py |