Skip to content

build(deps-dev): bump scikit-learn from 1.3.0 to 1.5.0 #352

build(deps-dev): bump scikit-learn from 1.3.0 to 1.5.0

build(deps-dev): bump scikit-learn from 1.3.0 to 1.5.0 #352

Workflow file for this run

name: Test
on:
pull_request:
branches:
- master
push:
branches:
- master
permissions:
contents: write
pull-requests: write
jobs:
test:
name: Test with Pytest
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Set Up Python 3.10
uses: "./.github/actions/poetry_setup"
with:
python-version: "3.10"
poetry-version: "1.5.1"
install-command: |
echo "Installing dependencies with poetry..."
poetry install --with test
- name: Run Test
run:
poetry run pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=codedog tests/ | tee pytest-coverage.txt
- name: Pytest Coverage Comment
id: coverageComment
uses: MishaKav/pytest-coverage-comment@main
with:
pytest-coverage-path: ./pytest-coverage.txt
junitxml-path: ./pytest.xml
default-branch: master
- name: Create Badge
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: schneegans/dynamic-badges-action@v1.6.0
with:
auth: ${{ secrets.GH_TOKEN }}
gistID: ce38dae58995aeffef42065093fcfe84
filename: codedog_master.json
label: Coverage
message: ${{ steps.coverageComment.outputs.coverage }}
color: ${{ steps.coverageComment.outputs.color }}
namedLogo: python