docs: Remove benefits section for create-with-session command #18
Workflow file for this run
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: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| - name: Set up Python | |
| run: uv python install 3.12 | |
| - name: Install dependencies | |
| run: uv sync --group dev | |
| - name: Run linter | |
| run: uv run ruff check . | |
| - name: Check Postmark credentials | |
| env: | |
| POSTMARK_API_TOKEN: ${{ secrets.POSTMARK_API_TOKEN }} | |
| SENDER_EMAIL: ${{ secrets.SENDER_EMAIL }} | |
| run: | | |
| if [ -z "$POSTMARK_API_TOKEN" ]; then | |
| echo "Error: POSTMARK_API_TOKEN is not set in repository secrets" | |
| exit 1 | |
| fi | |
| if [ -z "$SENDER_EMAIL" ]; then | |
| echo "Error: SENDER_EMAIL is not set in repository secrets" | |
| exit 1 | |
| fi | |
| echo "Postmark credentials are properly configured" | |
| - name: Run tests | |
| env: | |
| POSTMARK_API_TOKEN: ${{ secrets.POSTMARK_API_TOKEN }} | |
| SENDER_EMAIL: ${{ secrets.SENDER_EMAIL }} | |
| run: uv run pytest tests/ -v |