feat(datasets): coco and pil datasets #225
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: | |
branches: ["main"] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- python: "3.11" | |
torch: "2.0.1" | |
torchvision: "0.15.2" | |
steps: | |
- uses: LutingWang/todd/.github/actions/checkout-todd@main | |
with: | |
lfs: true | |
- uses: actions/setup-python@master | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Test | |
run: | | |
pip install torch==${{ matrix.torch }} torchvision==${{ matrix.torchvision }} | |
pip install .[optional,test] | |
mim install mmcv | |
coverage run | |
coverage xml && coverage report -m | |
- uses: codecov/codecov-action@main | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |