Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 15 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
UV_SYSTEM_PYTHON: true

services:
cratedb:
Expand All @@ -44,21 +45,23 @@ jobs:
- name: Acquire sources
uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v5

- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
cache: 'pip'
cache-dependency-path: |

- name: Set up uv
uses: astral-sh/setup-uv@v5
with:
cache-dependency-glob: |
pyproject.toml
requirements*.txt
cache-suffix: ${{ matrix.python-version }}
enable-cache: true
version: "latest"

- name: Set up project requirements and tools
run: uv pip install --system --requirement=requirements.txt --requirement=requirements-dev.txt
run: uv pip install --requirement=requirements.txt --requirement=requirements-dev.txt

- name: Run linters and software tests
run: poe check-cpython
Expand Down Expand Up @@ -86,14 +89,15 @@ jobs:
matrix:
os: ['ubuntu-latest']
micropython-version: [
'v1.20.0',
'v1.24.0',
'v1.22.2',
'v1.24.1',
'v1.25.0-preview',
]

env:
OS: ${{ matrix.os }}
MICROPYTHON: ${{ matrix.micropython-version }}
UV_SYSTEM_PYTHON: true

services:
cratedb:
Expand All @@ -113,7 +117,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Set up project tools
run: uv pip install --system poethepoet
run: uv pip install poethepoet

# https://github.com/marketplace/actions/install-micropython
- name: Set up MicroPython ${{ matrix.micropython-version }}
Expand Down
Loading