diff --git a/.github/actions/python-uv-setup/action.yml b/.github/actions/python-uv-setup/action.yml index 98f542c..2e906a3 100644 --- a/.github/actions/python-uv-setup/action.yml +++ b/.github/actions/python-uv-setup/action.yml @@ -4,7 +4,7 @@ inputs: python-version: description: Python version to install required: false - default: "3.11.6" + default: "3.13.2" sync-flags: description: Extra flags for uv sync (e.g., --locked --group test) required: false @@ -48,7 +48,7 @@ runs: SUDO="" fi $SUDO apt-get update - $SUDO apt-get install -y ffmpeg portaudio19-dev alsa-utils + $SUDO apt-get install -y ffmpeg portaudio19-dev alsa-utils libcap-dev - name: Install the project dependencies shell: bash diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index b124f02..1194882 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -26,9 +26,9 @@ jobs: install-system-packages: "true" sync-flags: "--locked --no-default-groups --group lint" - name: Run Ruff linter - run: uv run ruff check . + run: uv run --no-sync ruff check . - name: Run Ruff formatter - run: uv run ruff format --check . + run: uv run --no-sync ruff format --check . test: name: Test "${{ inputs.marker }}" @@ -48,9 +48,9 @@ jobs: uses: ./.github/actions/python-uv-setup with: install-system-packages: "true" - sync-flags: "--locked --no-default-groups --group test" + sync-flags: "--locked --no-default-groups --group test --extra vision" - name: Run core tests - run: uv run pytest -n auto -m "${{ inputs.marker }}" --cov=src --cov-report=xml tests/ + run: uv run --no-sync pytest -n auto -m "${{ inputs.marker }}" --cov=src --cov-report=xml tests/ - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 with: @@ -73,9 +73,9 @@ jobs: with: enable-cache: true install-system-packages: "true" - sync-flags: "--locked --no-default-groups --group test --extra raspberry-pi" + sync-flags: "--locked --no-default-groups --group test --extra vision --extra raspberry-pi" - name: Run Raspberry Pi profile tests - run: uv run pytest -n auto -m "${{ inputs.marker }}" --cov=src --cov-report=xml tests/ + run: uv run --no-sync pytest -n auto -m "${{ inputs.marker }}" --cov=src --cov-report=xml tests/ - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 with: diff --git a/.gitmessage b/.gitmessage new file mode 100644 index 0000000..c6ec716 --- /dev/null +++ b/.gitmessage @@ -0,0 +1,11 @@ +# (): +# +# +# +#