Skip to content

Fix #127 - optimise index for sv queries #101

Fix #127 - optimise index for sv queries

Fix #127 - optimise index for sv queries #101

Workflow file for this run

name: Run tests and coverage
on: ["pull_request"]
jobs:
build:
name: Tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
mongodb-version: ["4.4", "5.0"]
steps:
# Check out Scout code
- uses: actions/checkout@v3
# Set up python
- name: Set up Python ${{ matrix.python-version}}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version}}
# Set up mongodb
- name: Start MongoDB
uses: wbari/start-mongoDB@v0.2
with:
mongoDBVersion: ${{ matrix.mongodb-version}}
- name: Production Dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
- name: Dev Dependencies
run: |
pip install pytest
- name: Coveralls Dependencies
run: |
pip install pytest-cov coveralls
- name: Test with pytest & Coveralls
run: |
pytest --cov=./ tests/
coveralls
env:
GITHUB: 1
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}