Regenerate from OpenAPI b2c5d2b733a0088b1e83a073b0b2c8273e8b1fb6 #72
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: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install package (with dev deps) | |
| run: | | |
| python -m pip install -U pip | |
| python -m pip install -e ".[dev]" | |
| - name: Smoke import | |
| run: | | |
| python -c "from activitysmith import ActivitySmith; ActivitySmith(api_key='x')" | |
| - name: Run tests | |
| run: | | |
| pytest -q | |
| - name: Compile generated client (optional) | |
| run: | | |
| python -m compileall activitysmith_openapi |