Unmark sklearn.metrics.mean_squared_error
and mean_squared_log_error
as deprecated
#279
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: 'Test' | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.11" | |
- name: Cache pip | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Install dependencies | |
run: | |
python -m pip install -r tests/requirements.txt | |
- name: Run pyright tests | |
uses: gramster/pyright-action@main | |
with: | |
project: tests/pyrighttestconfig.json | |
warn-partial: true | |
hygiene: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Run isort | |
uses: isort/isort-action@v1 | |
- name: Run Black | |
uses: psf/black@stable | |
with: | |
options: "--check --verbose" |