This repository was archived by the owner on Jan 16, 2026. It is now read-only.
chore(main): release 3.0.0 #591
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: Lint, Format, and Test | |
| on: | |
| workflow_call: | |
| workflow_dispatch: | |
| pull_request: | |
| env: | |
| PASSAGE_USER_ID: ${{ secrets.PASSAGE_USER_ID }} | |
| PASSAGE_APP_ID: ${{ secrets.PASSAGE_APP_ID }} | |
| PASSAGE_API_KEY: ${{ secrets.PASSAGE_API_KEY }} | |
| PASSAGE_AUTH_TOKEN: ${{ secrets.PASSAGE_AUTH_TOKEN }} | |
| CI: true # used by pytest to enable untruncated output | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: astral-sh/ruff-action@v1 | |
| with: | |
| args: check | |
| format: | |
| name: Format | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: astral-sh/ruff-action@v1 | |
| with: | |
| args: format --check | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.8" | |
| - name: Install dependencies | |
| run: pip install -e .[dev] | |
| - name: Test | |
| run: pytest |