build: update minimum version for python-calamine to ensure 'packagin… #514
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: 🧪 PyTest | |
on: | |
# Run tests on all pushed branches | |
push: | |
branches: [main] | |
# Run tests on PR, prior to merge to main & development | |
pull_request: | |
branches: [main] | |
# Allow manual trigger (workflow_dispatch) | |
workflow_dispatch: | |
jobs: | |
pytest: | |
uses: hotosm/gh-workflows/.github/workflows/test_compose.yml@2.0.5 | |
with: | |
image_name: ghcr.io/${{ github.repository }} | |
tag_override: ${{ github.event_name == 'push' && 'ci' || '' }} | |
pre_command: docker compose up -d proxy | |
compose_service: fieldwork | |
compose_command: pytest | |
cache_extra_imgs: | | |
"docker.io/postgis/postgis:${{ vars.POSTGIS_TAG }}" | |
"ghcr.io/hotosm/fmtm/odkcentral:${{ vars.ODK_CENTRAL_TAG }}" |