Regenerate from OpenAPI 9b8aa1afecc3458df7333e520092b5f800197f26 #80
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 |