Address TIFF file loading. #2
This file contains hidden or 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: PR Test Coverage | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| coverage: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Check out Git repository | |
| uses: actions/checkout@v3 | |
| - name: Install Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - name: Install Poetry | |
| uses: abatilo/actions-poetry@v2 | |
| with: | |
| poetry-version: '1.8.3' | |
| - name: Install Dependencies | |
| working-directory: ./python | |
| run: poetry install | |
| - name: Run Tests | |
| run: | | |
| poetry run coverage run --source=ouroboros/helpers -m pytest | |
| poetry run coverage report -m | |
| poetry run coverage xml | |
| working-directory: ./python | |
| - name: Get Cover | |
| uses: orgoro/coverage@v3.2 | |
| with: | |
| coverageFile: python/coverage.xml | |
| token: ${{ secrets.GITHUB_TOKEN }} |