name: tests on: push: branches: [main] pull_request: jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: "3.12" - name: Install run: | pip install -r requirements.txt pytest python -m nltk.downloader punkt_tab # the Space uses NLTK's splitter, so test it too - name: Run tests (offline stand-in model) run: pytest -q