Skip to content

chore(ci): run the unit tests on every change - #210

Merged
JarbasAl merged 1 commit into
devfrom
feat/ci-and-kabyle
Aug 26, 2026
Merged

JarbasAl merged 1 commit into
devfrom
feat/ci-and-kabyle

Conversation

@JarbasAl

@JarbasAl JarbasAl commented Jul 10, 2026 •

Copy link
Copy Markdown
Member

Adds CI test gating via gh-automations (build-tests + lint) and fixes an ast.Str usage that crashes on Python 3.14 (ast.Str was removed, not just deprecated), so the new py3.14 matrix row goes green.

One change, 3 files: .github/workflows/unit_tests.yml, ovos_localize/analyzers/ast_analyzer.py, and its regression test.

Rebuilt off origin/dev; previously carried ~28 unrelated files.

Local: pytest test/unittests/test_ast_analyzer.py → 14 passed.

@coderabbitai

coderabbitai Bot commented Jul 10, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 8f22d642-e5dc-439d-b372-f0defa14ac74

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/ci-and-kabyle

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Jul 10, 2026 •

Copy link
Copy Markdown
Contributor

A new update is available for your PR checks! 📥

I've aggregated the results of the automated checks for this PR below.

🔍 Lint

Ensuring the codebase remains stable and healthy. 🛡️

❌ ruff: issues found — see job log

🔨 Build Tests

Ensuring the code is correctly packaged and ready. 📦

✅ All versions pass

Python Build Install Tests
3.10 ✅ ✅ ✅
3.11 ✅ ✅ ✅
3.12 ✅ ✅ ✅
3.13 ✅ ✅ ✅
3.14 ✅ ✅ ✅

🏷️ Release Preview

Crystal ball analysis: predicting the next version! 🔮

Current: 0.1.0a2 → Next: 0.1.0a3

Signal Value
Label (none)
PR title chore(ci): add build-tests + lint gating, fix ast.Str deprecation (B1.1, B1.4)
Bump alpha

⚠️ No conventional commit prefix — alpha-only bump.
Suggested: fix: update the thing or feat: update the thing


🚀 Release Channel Compatibility

Predicted next version: 0.1.0a3

Channel Status Note Current Constraint
Stable ⚪ Not in channel -
Testing ⚪ Not in channel -
Alpha ⚪ Not in channel -

The automation never sleeps, but I might reboot. 💤

Adds the shared build-tests and lint workflows across Python 3.10 to 3.14.
Until now nothing ran the suite, so a regression could only be found by
hand -- which is how a removed standard-library attribute went unnoticed
until it broke ten tests.

3.14 is in the matrix deliberately: it is the version that removed ast.Str,
and without a cell for it the same class of breakage returns silently.

Lint excludes the checkout the reusable workflow makes of gh-automations,
and both jobs skip pull requests that touch no Python, since most pull
requests here add a single line to skills.txt.
@JarbasAl
JarbasAl force-pushed the feat/ci-and-kabyle branch from 65d30d1 to 9213490 Compare August 26, 2026 12:41
@JarbasAl JarbasAl changed the title chore(ci): add build-tests + lint gating, fix ast.Str deprecation (B1.1, B1.4) chore(ci): run the unit tests on every change Aug 26, 2026
@JarbasAl
JarbasAl merged commit cfa4429 into dev Aug 26, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant