Skip to content

Bump scikit-learn from 1.3.2 to 1.5.0 in /requirements #32

Bump scikit-learn from 1.3.2 to 1.5.0 in /requirements

Bump scikit-learn from 1.3.2 to 1.5.0 in /requirements #32

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