Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.

Commit cff1129

Browse files
authored
ci: fix github actions (#8)
1 parent c670f62 commit cff1129

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

.github/workflows/CI-test.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -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'
@@ -75,7 +77,7 @@ jobs:
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 }}

.github/workflows/Release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ jobs:
1313
python-version: ["3.9"]
1414
poetry-version: ["1.8.3"]
1515

16-
runs-on: ubuntu-20.04
16+
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v3
1919
with:
2020
submodules: recursive
2121

22-
- uses: actions/setup-python@v4
22+
- uses: actions/setup-python@v5
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525

26-
- uses: abatilo/actions-poetry@v2
26+
- uses: abatilo/actions-poetry@v3
2727
with:
2828
poetry-version: ${{ matrix.poetry-version }}
2929

@@ -38,9 +38,9 @@ jobs:
3838

3939
github:
4040
needs: [pypi]
41-
runs-on: ubuntu-20.04
41+
runs-on: ubuntu-latest
4242
steps:
43-
- uses: actions/checkout@v3
43+
- uses: actions/checkout@v4
4444
with:
4545
submodules: recursive
4646

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@ See more examples in the [example](./example) directory, ccvfi can register cust
6868
It still in development, the following models are supported:
6969

7070
- [Architecture](./ccvfi/type/arch.py)
71-
7271
- [Model](./ccvfi/type/model.py)
73-
7472
- [Weight(Config)](./ccvfi/type/config.py)
7573

7674
### Reference

0 commit comments

Comments
 (0)