Remove security and quality targets from Makefile #376
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: (RHIZA) SMOKE TEST | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| smoke: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6.0.2 | |
| with: | |
| lfs: true | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7.6.0 | |
| with: | |
| version: "0.10.7" | |
| - name: Install rhiza from source | |
| run: make install | |
| - name: Add venv to PATH | |
| run: echo "${{ github.workspace }}/.venv/bin" >> "$GITHUB_PATH" | |
| - name: Run rhiza status (requires lock file) | |
| run: rhiza status . | |
| - name: Run rhiza sync | |
| run: rhiza sync . | |
| - name: Smoke-test rhiza init in a fresh git repo | |
| run: | | |
| INIT_DIR=$(mktemp -d) | |
| git -C "$INIT_DIR" init | |
| git -C "$INIT_DIR" config user.email "ci@smoke.local" | |
| git -C "$INIT_DIR" config user.name "Smoke CI" | |
| rhiza init "$INIT_DIR" --git-host github --project-name smokeapp | |
| test -f "$INIT_DIR/.rhiza/template.yml" | |
| test -f "$INIT_DIR/src/smokeapp/main.py" | |
| test -f "$INIT_DIR/tests/test_main.py" | |
| test -f "$INIT_DIR/pyproject.toml" | |
| PYTHONPATH="$INIT_DIR/src" python -m pytest "$INIT_DIR/tests" -q |