From 5fb28d1bdf74f9a36d802aba9e4a244dc1c88589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9d=C3=A9ric=20Hurier=20=28Fmind=29?= Date: Sat, 24 Feb 2024 08:18:14 +0100 Subject: [PATCH] Test CI/CD --- .github/workflows/on-pull-request.yml | 2 +- .github/workflows/on-release-published.yml | 7 ++----- poetry.lock | 2 +- pyproject.toml | 2 +- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/on-pull-request.yml b/.github/workflows/on-pull-request.yml index 023f1af..ab09445 100644 --- a/.github/workflows/on-pull-request.yml +++ b/.github/workflows/on-pull-request.yml @@ -12,5 +12,5 @@ jobs: steps: - uses: actions/checkout@v4 - uses: ./.github/actions/setup - - run: poetry install --only main,checks + - run: poetry install --only main,dev,checks - run: poetry run inv checks diff --git a/.github/workflows/on-release-published.yml b/.github/workflows/on-release-published.yml index cc27ca2..3c85608 100644 --- a/.github/workflows/on-release-published.yml +++ b/.github/workflows/on-release-published.yml @@ -1,7 +1,4 @@ -on: - push: - branches: - - '*' +on: push # on: # release: # types: [published] @@ -17,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: ./.github/actions/setup - - run: poetry install --only docs + - run: poetry install --only main,docs - run: poetry run inv docs - uses: JamesIves/github-pages-deploy-action@v4 with: diff --git a/poetry.lock b/poetry.lock index e2584a7..e137d27 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2648,4 +2648,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = "^3.12" -content-hash = "c35229be710f0e85c15b6d2d529dac21e126455d1622553fa90f01d9c2b6ca13" +content-hash = "acc5b17bf55180e68fa88749c6aaecec3dfba5c15d37138fa484371d37b774b0" diff --git a/pyproject.toml b/pyproject.toml index ac5e82e..9360c66 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,7 +36,6 @@ mlflow-skinny = "^2.10.2" [tool.poetry.group.dev.dependencies] invoke = "^2.2.0" -ipykernel = "^6.29.0" pre-commit = "^3.6.0" [tool.poetry.group.docs.dependencies] @@ -56,6 +55,7 @@ black = "^24.1.1" isort = "^5.13.2" [tool.poetry.group.notebooks.dependencies] +ipykernel = "^6.29.0" nbformat = "^5.9.2" # CONFIGURATIONS