[Reland] Setup prompt-processsing and token-generation testing in text generation tasks #2380
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: Type annotation with mypy | |
| on: [push, pull_request] | |
| jobs: | |
| mypy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.12' | |
| - name: Install mypy | |
| run: pip install mypy | |
| - name: Run mypy | |
| run: mypy |