From 3b37ca5f1807d2f0c19cfb2d2b9d293d7f8023bf Mon Sep 17 00:00:00 2001 From: Travis Lyons Date: Fri, 31 Jul 2026 16:22:20 +0000 Subject: [PATCH] Add basic lint, build, and test CI workflow Adds .github/workflows/ci.yml with independent lint and ci jobs running on pull requests and pushes to the default branch. No publish or deploy steps. --- .github/workflows/ci.yml | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..d81ad2e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,42 @@ +name: CI + +on: + pull_request: + push: + branches: + - master + +permissions: + contents: read + +jobs: + lint: + name: lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - uses: actions/setup-python@v6 + with: + python-version: '3.11' + - name: Lint (syntax check) + run: | + echo "No dedicated linter configured; running Python syntax check via compileall." + python -m compileall libs stack + ci: + name: ci + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - uses: actions/setup-python@v6 + with: + python-version: '3.11' + - name: Install Poetry + run: pip install poetry + - name: Build and test + run: | + PROJECTS="libs/libml libs/libmq libs/libtelemetry stack/service-ml-common stack/service-ml-custom stack/service-one stack/service-two" + for proj in $PROJECTS; do + echo "==== Building $proj ====" + ( cd "$proj" && poetry build ) + done + echo "No test files found in the repository; build completed."