From d17e6771066cdf662a39d89dac4fcc70d0acb137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Perceval=20Wajsb=C3=BCrt?= Date: Mon, 16 Oct 2023 19:16:53 +0200 Subject: [PATCH] fix: github actions --- .github/workflows/documentation.yml | 2 +- .github/workflows/release.yml | 6 ++++-- pyproject.toml | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 581b4e344..819a4d9c5 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -2,7 +2,7 @@ name: Documentation on: push: - branches: [master, dev, beta] + branches: [master, dev] env: BRANCH_NAME: ${{ github.head_ref || github.ref_name }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6f8dba5fb..b7a9b1849 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -67,8 +67,10 @@ jobs: Documentation: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.9" - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/pyproject.toml b/pyproject.toml index 8dbb2104b..408713e13 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -348,4 +348,5 @@ skip = [ ] before-test = "pip install pytest" +test-extras = "ml" test-command = "pytest {project}/tests/pipelines/test_pipelines.py"