WasteStack MVP: stranded-site dual-yield appraisal CLI #1
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 | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Run tests | |
| run: | | |
| PYTHONPATH=src python -m unittest discover -s tests -v | |
| - name: CLI smoke | |
| run: | | |
| PYTHONPATH=src python -m wastestack sample --output examples/portfolio_sample.json | |
| PYTHONPATH=src python -m wastestack appraise --input examples/portfolio_sample.json | |
| PYTHONPATH=src python -m wastestack report --input examples/portfolio_sample.json --output examples/wastestack_report.md |