Bump nltk from 3.9.1 to 3.9.4 #116
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: CI Code Checks | |
| on: [pull_request] | |
| jobs: | |
| build: | |
| name: Code Check | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.12"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements_dev.txt | |
| python -m nltk.downloader wordnet stopwords | |
| - name: Checking formatting and analysing the code with pylint and flake8 | |
| run: make lint | |
| - name: Running tests | |
| run: make test | |
| - name: Creating coverage folder | |
| run: | | |
| mkdir -p coverage | |
| - name: Coverage Badge | |
| run: | | |
| pip install genbadge[coverage] | |
| coverage xml | |
| genbadge coverage -i coverage.xml -o coverage/coverage.svg | |
| - name: Publish coverage report to coverage-badge branch | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| branch: coverage-badge | |
| folder: coverage | |
| - name: Type checking with mypy | |
| run: mypy --config mypy.ini -p breds |