ImageEvaluation pickleable #211
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 | |
on: | |
- push | |
- workflow_call | |
jobs: | |
test: | |
name: Test on ubuntu-latest, sdist | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Install from sdist | |
shell: bash | |
run: | | |
pipx run build --sdist . | |
source_file=$(ls ./dist/*.tar.gz) | |
pip install "${source_file}[tests]" | |
- uses: actions/checkout@v2 | |
- name: Run test cases numpy latest | |
working-directory: ./tests | |
run: | | |
pytest --cov=faster_coco_eval . |