diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..41bc280 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,42 @@ +name: Tests + +on: + push: + branches: + - main + pull_request: + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + tests: + name: ${{ matrix.os }} / Python ${{ matrix.python-version }} + runs-on: ${{ matrix.os }} + timeout-minutes: 10 + strategy: + fail-fast: false + matrix: + os: + - ubuntu-latest + - windows-latest + python-version: + - "3.10" + - "3.14" + steps: + - name: Check out the repository + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 + with: + persist-credentials: false + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 + with: + python-version: ${{ matrix.python-version }} + + - name: Run the test suite + run: python -X utf8 -m unittest discover -s tests -v diff --git a/README.md b/README.md index 8267c74..3eecf6c 100644 --- a/README.md +++ b/README.md @@ -327,6 +327,11 @@ The test suite uses only the standard library: python -X utf8 -m unittest discover -s tests -v ``` +Continuous integration runs the same command on every pull request and on +pushes to `main`, on Windows and Linux with Python 3.10 and 3.14. The jobs +run tests with local synthetic fixtures; no real session histories or +provider credentials are needed. + ## Multi-agent installation Codex discovers skills under `.codex/skills`. Other tools may scan different