add equalScore param #2
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 PR | |
on: | |
- pull_request | |
jobs: | |
test: | |
name: Test on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: False | |
matrix: | |
os: [ubuntu-latest, macos-14, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.x" | |
- 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 . |