docs: document --rich scoring and new runners #13
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: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - run: python -m pip install --upgrade pip | |
| - run: pip install -e .[dev] | |
| - name: Black check | |
| run: | | |
| python -m black --check . | |
| - name: Lint import | |
| run: python -c "import flakewall; print(flakewall.__version__)" | |
| - name: CLI smoke | |
| run: | | |
| flakewall --help | |
| printf '%s\n' '<testsuite name="demo">' ' <testcase classname="pkg.T" name="t1"><failure/></testcase>' ' <testcase classname="pkg.T" name="t2" />' '</testsuite>' > junit.xml | |
| flakewall init | |
| flakewall report --junit "**/junit*.xml" | |
| flakewall guard --junit "**/junit*.xml" || true | |
| flakewall score --junit "**/junit*.xml" --min-total 1 --json | |