Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from Clinical-Genomics/update_mongodb
Unfreeze pymongo and add integration test with MongoDB v7
- Loading branch information
Showing
4 changed files
with
46 additions
and
14 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,39 @@ | ||
name: Integration tests | ||
on: [pull_request] | ||
jobs: | ||
integration_test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
mongodb-version: ['7'] | ||
|
||
steps: | ||
- name: Start MongoDB | ||
uses: supercharge/mongodb-github-action@1.10.0 | ||
with: | ||
mongodb-version: ${{ matrix.mongodb-version }} | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Conda and install python | ||
uses: s-weigand/setup-conda@v1 | ||
with: | ||
activate-conda: true | ||
python-version: 3.11 | ||
|
||
- name: Download Picard | ||
uses: wei/wget@v1 | ||
with: | ||
args: -O picard.jar https://github.com/broadinstitute/picard/releases/download/2.26.6/picard.jar | ||
|
||
- name: Install repo and its dependencies | ||
run: | | ||
pip install -r requirements.txt | ||
pip install -e . | ||
- name: Test run pipeline | ||
run: | | ||
mutacc --root-dir . extract --picard-executable picard.jar --padding 600 -c mutacc/resources/case.yaml | ||
mutacc --root-dir . db import imports/demo_trio_import_mutacc.json | ||
mutacc --root-dir . db export --all-variants --member child --proband --sample-name child |
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
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
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 |
---|---|---|
|
@@ -6,4 +6,4 @@ cyvcf2 | |
mongo_adapter>=0.3.3 | ||
ped_parser | ||
PyYaml>=5.1 | ||
pymongo<4.0 | ||
pymongo |