Bump scikit-learn from 1.3.2 to 1.5.0 in /requirements #32
This file contains 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: Check the dependencies in requirements.in and requirements.txt | |
on: | |
workflow_call: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
concurrency: | |
group: check-requirements-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pip-tools pytest | |
- name: Generate requirements-generated.txt | |
run: | | |
pip-compile --output-file=./requirements/generated-requirements.txt ./requirements/requirements.in --strip-extras | |
- name: Check if requirements.txt is the same as requirements-generated.txt | |
run: | | |
pytest tests |