diff --git a/.github/workflows/check_ci.yaml b/.github/workflows/check_ci.yaml index dd0e5dbd..e22e8efd 100644 --- a/.github/workflows/check_ci.yaml +++ b/.github/workflows/check_ci.yaml @@ -18,6 +18,16 @@ jobs: python-version: "3.10" poetry-version: "1.8.2" + - name: Check Version Number + run: poetry run python3 -u "./scripts/build/check_release.py" + + - name: Link Checker + id: lychee + uses: lycheeverse/lychee-action@v1.9.0 + with: + fail: true + args: --verbose --no-progress 'doc/**/*.md' 'README.md' + - name: Run Unit Tests run: > poetry run pytest diff --git a/.github/workflows/check_documentation_links.yaml b/.github/workflows/check_documentation_links.yaml deleted file mode 100644 index 356cc4a7..00000000 --- a/.github/workflows/check_documentation_links.yaml +++ /dev/null @@ -1,23 +0,0 @@ -name: Check Documentation Links - -on: - push: - branches-ignore: - - "main" - -jobs: - check_documentation_links: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Link Checker - id: lychee - uses: lycheeverse/lychee-action@v1.9.0 - with: - fail: true - args: --verbose --no-progress 'doc/**/*.md' 'README.md' - diff --git a/.github/workflows/check_notebook_links.yaml b/.github/workflows/check_hyperlinks.yaml similarity index 60% rename from .github/workflows/check_notebook_links.yaml rename to .github/workflows/check_hyperlinks.yaml index 3282ebb8..26606b0f 100644 --- a/.github/workflows/check_notebook_links.yaml +++ b/.github/workflows/check_hyperlinks.yaml @@ -1,9 +1,7 @@ -name: Check Notebook Links +name: Check Hyperlinks on: - push: - branches-ignore: - - "main" + pull_request: jobs: check_notebook_links: @@ -19,7 +17,14 @@ jobs: python-version: "3.10" poetry-version: '1.8.2' - - name: Run build ai-lab tests + - name: Check Hyperlinks in Documentation + id: lychee + uses: lycheeverse/lychee-action@v1.9.0 + with: + fail: true + args: --verbose --no-progress 'doc/**/*.md' 'README.md' + + - name: Check Hyperlinks in Jupyter Notebooks run: > poetry run pytest --check-links exasol/ds/sandbox/runtime/ansible/roles/jupyter/files/notebook/ diff --git a/.github/workflows/check_version.yaml b/.github/workflows/check_version.yaml deleted file mode 100644 index d0b0ba3e..00000000 --- a/.github/workflows/check_version.yaml +++ /dev/null @@ -1,21 +0,0 @@ -name: Check if versions are consistent - -on: - push: - branches-ignore: - - "main" - -jobs: - check-version-numbers: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@0.13.0 - with: - python-version: "3.10" - poetry-version: '1.8.2' - - name: Check Release - run: poetry run python3 -u "./scripts/build/check_release.py"