updated title #57
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: Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| env: | |
| CI: "true" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| run: | | |
| pip install --extra-index-url https://download.pytorch.org/whl/cpu -r requirements.txt | |
| pip install -e . | |
| - name: Download NLTK data | |
| run: python -c "import nltk; nltk.download('punkt_tab', quiet=True)" | |
| - name: Run unit tests | |
| run: pytest tests/test_core_functions.py -v |