@@ -22,37 +22,39 @@ jobs:
2222 CI :
2323 strategy :
2424 matrix :
25- os-version : ["ubuntu-20.04 ", "macos-14 ", "windows-latest "]
25+ os-version : ["windows-latest ", "ubuntu-latest ", "macos-14 "]
2626 python-version : ["3.9"]
2727 poetry-version : ["1.8.3"]
28- pytorch-version : ["2.4.0 ", "2.1.2", "2.0.0", "1.13.0"]
28+ pytorch-version : ["2.7.1 ", "2.1.2", "2.0.0", "1.13.0"]
2929
3030 runs-on : ${{ matrix.os-version }}
3131 steps :
32- - uses : actions/checkout@v3
32+ - uses : actions/checkout@v4
3333 with :
3434 submodules : recursive
3535
36- - uses : actions/setup-python@v4
36+ - uses : actions/setup-python@v5
3737 with :
3838 python-version : ${{ matrix.python-version }}
3939
40- - uses : abatilo/actions-poetry@v2
40+ - uses : abatilo/actions-poetry@v3
4141 with :
4242 poetry-version : ${{ matrix.poetry-version }}
4343
4444 - name : Install dependencies
4545 run : |
4646 pip install numpy==1.26.4
47- pip install pydantic tenacity opencv-python einops
47+ pip install opencv-python==4.10.0.84
48+
49+ pip install pydantic tenacity einops
4850 pip install pre-commit scikit-image
4951 pip install pytest pytest-cov coverage
5052 pip install mypy ruff types-requests
5153
52- - name : Install PyTorch 2.4.0
53- if : matrix.pytorch-version == '2.4.0 '
54+ - name : Install PyTorch 2.7.1
55+ if : matrix.pytorch-version == '2.7.1 '
5456 run : |
55- pip install torch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0
57+ pip install torch==2.7.1 torchvision==0.22.1 torchaudio==2.7.1
5658
5759 - name : Install PyTorch 2.1.2
5860 if : matrix.pytorch-version == '2.1.2'
7577 make test
7678
7779 - name : Codecov
78- if : matrix.os-version == 'ubuntu-20.04' && matrix.pytorch-version == '2.4.0 '
79- uses : codecov/codecov-action@v3
80+ if : matrix.os-version == 'ubuntu-latest' && matrix.python-version == '3.9' && matrix.pytorch-version == '2.7.1 '
81+ uses : codecov/codecov-action@v5
8082 with :
8183 token : ${{ secrets.CODECOV_TOKEN }}
0 commit comments