Setup Linux. pillow deps #202
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]" | |
- name: Run test cases | |
run: cd tests && pytest --cov=faster_coco_eval . |