Use precalculated bounding boxes of image-features to speed up image feature query #700
Workflow file for this run
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: '[test] coverage' | |
on: | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
env: | |
FOO: BAR | |
# KEYCLOAK_CLIENT_ID: ${{ secrets.KEYCLOAK_CLIENT_ID }} | |
# KEYCLOAK_CLIENT_SECRET: ${{ secrets.KEYCLOAK_CLIENT_SECRET }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.7 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -U . | |
pip install -r requirements-test.txt | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Generate coverage | |
run: | | |
pytest --cov=siibra --cov-report=xml | |
- name: Upload coverage report to codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
fail_ci_if_error: true # optional (default = false) | |
verbose: true # optional (default = false) |