diff --git a/.github/workflows/CI-test.yml b/.github/workflows/CI-test.yml index 7d337c1..4eb02d1 100644 --- a/.github/workflows/CI-test.yml +++ b/.github/workflows/CI-test.yml @@ -25,6 +25,7 @@ jobs: os-version: ["windows-latest", "ubuntu-latest", "macos-14"] python-version: ["3.11"] poetry-version: ["1.8.3"] + ccrestoration-version: ["0.2.2"] runs-on: ${{ matrix.os-version }} steps: @@ -45,7 +46,7 @@ jobs: pip install numpy==1.26.4 pip install opencv-python==4.10.0.84 - pip install ccrestoration + pip install ccrestoration==${{ matrix.ccrestoration-version }} pip install PyYAML pydantic loguru pip install pre-commit scikit-image @@ -70,7 +71,7 @@ jobs: make test - name: Codecov - if: matrix.os-version == 'ubuntu-20.04' + if: matrix.os-version == 'ubuntu-latest' uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} @@ -81,6 +82,7 @@ jobs: os-version: ["windows-latest", "ubuntu-latest", "macos-14"] python-version: ["3.11"] poetry-version: ["1.8.3"] + ccrestoration-version: ["0.2.2"] runs-on: ${{ matrix.os-version }} steps: @@ -101,7 +103,7 @@ jobs: pip install numpy==1.26.4 pip install opencv-python==4.10.0.84 - pip install ccrestoration + pip install ccrestoration==${{ matrix.ccrestoration-version }} pip install PyYAML pydantic loguru diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 1633acd..089359c 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -22,6 +22,7 @@ jobs: os-version: ["windows-latest", "macos-14"] python-version: ["3.11"] poetry-version: ["1.8.3"] + ccrestoration-version: ["0.2.2"] runs-on: ${{ matrix.os-version }} steps: @@ -42,7 +43,7 @@ jobs: pip install numpy==1.26.4 pip install opencv-python==4.10.0.84 - pip install ccrestoration + pip install ccrestoration==${{ matrix.ccrestoration-version }} pip install PyYAML pydantic loguru diff --git a/README.md b/README.md index 6c3dc71..d5045c5 100644 --- a/README.md +++ b/README.md @@ -62,4 +62,4 @@ After v3.0.0, ncnn will be deprecated, and the project will use ccrestoration(Py ### License This project is licensed under the BSD 3-Clause - see -the [LICENSE file](https://github.com/Tohrusky/Final2x-core/blob/main/LICENSE) for details. +the [LICENSE file](./LICENSE) for details. diff --git a/pyproject.toml b/pyproject.toml index d26ecfa..a916146 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ version = "3.2.0" # Requirements [tool.poetry.dependencies] PyYAML = "*" -ccrestoration = "0.2.1" +ccrestoration = "0.2.2" loguru = "*" pydantic = "*" python = "^3.9"