Align gatectl with the control-tool family (#1) #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: tests | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| unittest: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - run: python -m pip install -e ".[dev]" | |
| - run: test -x script/install && sh -n script/install | |
| - run: ruff format --check src tests | |
| - run: ruff check src tests | |
| - run: detect-secrets scan --baseline .secrets.baseline | |
| - run: python -m unittest discover -s tests -v | |
| env: | |
| PYTHONPATH: src |