diff --git a/.github/workflows/build-source-package-and-wheels.yml b/.github/workflows/build-source-package-and-wheels.yml index 55ba503..9b10919 100644 --- a/.github/workflows/build-source-package-and-wheels.yml +++ b/.github/workflows/build-source-package-and-wheels.yml @@ -71,7 +71,7 @@ jobs: # The version of uv itself is pinned, which allows us to install older Python. Suspect # that eventually to install newer Python, will need to have the version of uv specified # in the matrix - version: ${{ format('{0}', matrix.python-version) == '3.7' && '0.6.17' || '0.10.6' }} + version: '0.6.17' python-version: ${{ matrix.python-version }} activate-environment: true ignore-nothing-to-cache: true @@ -137,7 +137,7 @@ jobs: # The version of uv itself is pinned, which allows us to install older Python. Suspect # that eventually to install newer Python, will need to have the version of uv specified # in the matrix - version: ${{ format('{0}', matrix.python-version) == '3.7' && '0.6.17' || '0.10.6' }} + version: '0.6.17' python-version: ${{ matrix.python-version }} activate-environment: true ignore-nothing-to-cache: true @@ -201,7 +201,7 @@ jobs: # The version of uv itself is pinned, which allows us to install older Python. Suspect # that eventually to install newer Python, will need to have the version of uv specified # in the matrix - version: ${{ format('{0}', matrix.python-version) == '3.7' && '0.6.17' || '0.10.6' }} + version: '0.6.17' python-version: ${{ matrix.python-version }} activate-environment: true ignore-nothing-to-cache: true @@ -254,7 +254,7 @@ jobs: # The version of uv itself is pinned, which allows us to install older Python. Suspect # that eventually to install newer Python, will need to have the version of uv specified # in the matrix - version: ${{ format('{0}', matrix.python-version) == '3.7' && '0.6.17' || '0.10.6' }} + version: '0.6.17' python-version: ${{ matrix.python-version }} activate-environment: true ignore-nothing-to-cache: true diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dac8d97..b194490 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,7 +40,7 @@ jobs: uses: astral-sh/setup-uv@v6 with: # Pin to older uv version to get python 3.7.7 - version: ${{ format('{0}', matrix.python-version) == '3.7.7' && '0.6.17' || '0.10.6' }} + version: '0.6.17' python-version: ${{ matrix.python-version }} activate-environment: true - name: "Install python dependencies" @@ -48,8 +48,8 @@ jobs: uv pip install '.[dev,ci]' - name: "Run type checking" run: | - uv run mypy python test.py --disable-error-code import + mypy python test.py --disable-error-code import - name: "Run tests" run: | - uv run coverage run -m unittest -v + coverage run -m unittest -v - uses: codecov/codecov-action@v3