This repository has been archived by the owner on Aug 5, 2024. It is now read-only.
fix: Add more detail to reduce the pain of a new developer #45
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_pytest.yml@1.4.0 | |
with: | |
image_name: ghcr.io/${{ github.repository }} | |
tag_override: ${{ github.event_name == 'push' && 'ci' || '' }} |