From e1bd5b057f6fead9b8bd932a1eed7fe839d93081 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 11 Jun 2026 01:02:59 +0000 Subject: [PATCH] Add CI workflow and MIT LICENSE - .github/workflows/ci.yml: on push/PR to main, installs the package and runs make lint, make test (33 offline tests, no API spend), and make dryrun across all four shipped loops. Makes the PR-and-merge flow enforce a green suite. - LICENSE: MIT, matching the license declared in pyproject.toml. --- .github/workflows/ci.yml | 30 ++++++++++++++++++++++++++++++ LICENSE | 21 +++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 .github/workflows/ci.yml create mode 100644 LICENSE diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..fe94465 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,30 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.11" + + - name: Install package + run: python -m pip install -e . + + - name: Lint (syntax check) + run: make lint + + - name: Run tests (offline — no API spend) + run: make test + + - name: Dry-run every shipped loop (no model spend) + run: make dryrun diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..ece1ab5 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 macaddy2 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.