diff --git a/.github/workflows/README.md b/.github/workflows/README.md deleted file mode 100644 index 91d6a14ba0..0000000000 --- a/.github/workflows/README.md +++ /dev/null @@ -1,88 +0,0 @@ - - -# Continuous on Pull Request - -## ci_cmake.yml - -Runs CMake specific tests, e.g., using SeqAn3 as external project. - -## ci_coverage.yml - -Runs coverage test and uploads the report to Codecov. - -## ci_documentation.yml - -Builds the documentation and checks for failures. - -## ci_lint.yml - -Runs clang-format and cmake-format. Resulting changes will be pushed as a new commit. - -Other CI only starts after linting does not produce changes. - -Only runs on PRs. - -## ci_linux.yml - -Runs unit tests on Ubuntu. - -## ci_macos.yml - -Runs unit tests on macOS. - -## ci_misc.yml - -Runs snippet, performance, and header tests on Ubuntu. - -# Continuous on Push - -These run in addition to *Continuous on Pull Request*. - -## deploy_documentation.yaml - -Builds documentation and uploads it to https://docs.seqan.de/. - -Uses repository secrets for the target server and authentication. - -## update_cookbook.yml - -Checks if any new snippets are to be added to the Cookbook. Will push a new commit if new snippets are found. - -# Cron - -## cron_api.yml - -Runs the [API-Stability](https://github.com/seqan/seqan3/blob/main/test/api_stability/README.md) test. - -In case of failure, creates an issue containing error logs. - -## cron_avx2.yml - -Will run all test suites on all compilers with AVX2 enabled. - -In case of failure, creates an issue containing error logs. - -## cron_latest_libraries.yml - -Will update all submodules, gbenchmark and googletest to respective main versions. Then runs all test suites on all -compilers. - -In case of failure, creates an issue containing error logs. - -# On Demand - -## hide_comments.yml - -Can be used to hide bot comments in an issue. Intended for use with the CRON issues. - -## ram_usage.yml - -Tracks the RAM-Usage when compiling and generates a CSV artifact. - -This workflow has two optional inputs: - * The GCC version (default: `13`) - * The CXX_FLAGS (default: None) diff --git a/.github/workflows/license_check.yaml b/.github/workflows/ci_license.yml similarity index 100% rename from .github/workflows/license_check.yaml rename to .github/workflows/ci_license.yml diff --git a/.github/workflows/update_cookbook.yml b/.github/workflows/ci_update_cookbook.yml similarity index 100% rename from .github/workflows/update_cookbook.yml rename to .github/workflows/ci_update_cookbook.yml diff --git a/.github/workflows/cron_api.yml b/.github/workflows/cron_api.yml index dcd48242b0..070eba36db 100644 --- a/.github/workflows/cron_api.yml +++ b/.github/workflows/cron_api.yml @@ -70,14 +70,14 @@ jobs: fi - name: Reopen issue - if: failure() + if: failure() && github.repository_owner == 'seqan' run: gh issue reopen ${{ env.ISSUE }} env: GH_TOKEN: ${{ secrets.SEQAN_ACTIONS_PAT }} GH_REPO: ${{ github.repository }} - name: Find Comment - if: always() + if: always() && github.repository_owner == 'seqan' uses: peter-evans/find-comment@v3 id: find_comment with: @@ -85,7 +85,7 @@ jobs: body-includes: ${{ matrix.build }} on ${{ matrix.compiler }} - name: Update comment - if: always() + if: always() && github.repository_owner == 'seqan' uses: peter-evans/create-or-update-comment@v4 with: comment-id: ${{ steps.find_comment.outputs.comment-id }} diff --git a/.github/workflows/cron_avx2.yml b/.github/workflows/cron_avx2.yml index efb6415357..f2b96c21f9 100644 --- a/.github/workflows/cron_avx2.yml +++ b/.github/workflows/cron_avx2.yml @@ -94,14 +94,14 @@ jobs: fi - name: Reopen issue - if: failure() + if: failure() && github.repository_owner == 'seqan' run: gh issue reopen ${{ env.ISSUE }} env: GH_TOKEN: ${{ secrets.SEQAN_ACTIONS_PAT }} GH_REPO: ${{ github.repository }} - name: Find Comment - if: always() + if: always() && github.repository_owner == 'seqan' uses: peter-evans/find-comment@v3 id: find_comment with: @@ -109,7 +109,7 @@ jobs: body-includes: ${{ matrix.build }} on ${{ matrix.compiler }} - name: Update comment - if: always() + if: always() && github.repository_owner == 'seqan' uses: peter-evans/create-or-update-comment@v4 with: comment-id: ${{ steps.find_comment.outputs.comment-id }} diff --git a/.github/workflows/ci_codechecker.yml b/.github/workflows/cron_codechecker.yml similarity index 100% rename from .github/workflows/ci_codechecker.yml rename to .github/workflows/cron_codechecker.yml diff --git a/.github/workflows/ci_codeql.yml b/.github/workflows/cron_codeql.yml similarity index 100% rename from .github/workflows/ci_codeql.yml rename to .github/workflows/cron_codeql.yml diff --git a/.github/workflows/ci_cpm.yml b/.github/workflows/cron_cpm.yml similarity index 100% rename from .github/workflows/ci_cpm.yml rename to .github/workflows/cron_cpm.yml diff --git a/.github/workflows/cron_debian.yml b/.github/workflows/cron_debian.yml index 6a8ebfe40e..496b648064 100644 --- a/.github/workflows/cron_debian.yml +++ b/.github/workflows/cron_debian.yml @@ -33,25 +33,27 @@ jobs: apt-get update apt-get install --yes --no-install-recommends build-essential git cmake wget fakeroot ca-certificates - - name: Setup Repo + - name: Create Source Package + id: source_package run: | - mkdir unstable && cd unstable + mkdir source && cd source git clone --depth 1 https://github.com/seqan/seqan3.git - cd seqan3/ + mkdir package && cd package + cmake ../seqan3 + make package_source + path=$(find "${PWD}" -maxdepth 1 -type f -name "*-Source.tar.xz") + echo "path=${path}" >> $GITHUB_OUTPUT + + - name: Create Debian Repo + run: | + mkdir -p unstable/seqan3 && cd unstable + tar xf ${{ steps.source_package.outputs.path }} -C seqan3 --strip-components=1 + cd seqan3 + git init . git remote add salsa https://salsa.debian.org/med-team/seqan3.git git fetch --depth 1 salsa git checkout salsa/debian/experimental -- debian - - name: Reduce Noise - working-directory: unstable/seqan3 - run: | - if [[ -f test/cmake/seqan3_require_ccache.cmake ]]; then - echo "" > test/cmake/seqan3_require_ccache.cmake - fi - if [[ -f test/documentation/seqan3_doxygen_cfg.in ]]; then - sed -i 's@^\(QUIET\s*=\) NO@\1 YES@' test/documentation/seqan3_doxygen_cfg.in - fi - - name: Install Dependencies working-directory: unstable/seqan3 run: apt-get build-dep --yes --no-install-recommends . diff --git a/.github/workflows/cron_latest_libraries.yml b/.github/workflows/cron_latest_libraries.yml index 22a3bb687f..2a52a220cd 100644 --- a/.github/workflows/cron_latest_libraries.yml +++ b/.github/workflows/cron_latest_libraries.yml @@ -102,14 +102,14 @@ jobs: fi - name: Reopen issue - if: failure() + if: failure() && github.repository_owner == 'seqan' run: gh issue reopen ${{ env.ISSUE }} env: GH_TOKEN: ${{ secrets.SEQAN_ACTIONS_PAT }} GH_REPO: ${{ github.repository }} - name: Find Comment - if: always() + if: always() && github.repository_owner == 'seqan' uses: peter-evans/find-comment@v3 id: find_comment with: @@ -117,7 +117,7 @@ jobs: body-includes: ${{ matrix.build }} on ${{ matrix.compiler }} - name: Update comment - if: always() + if: always() && github.repository_owner == 'seqan' uses: peter-evans/create-or-update-comment@v4 with: comment-id: ${{ steps.find_comment.outputs.comment-id }} diff --git a/.github/workflows/ci_sanitizer.yml b/.github/workflows/cron_sanitizer.yml similarity index 100% rename from .github/workflows/ci_sanitizer.yml rename to .github/workflows/cron_sanitizer.yml diff --git a/.github/workflows/hide_comments.yml b/.github/workflows/hide_comments.yml deleted file mode 100644 index dda0f4660a..0000000000 --- a/.github/workflows/hide_comments.yml +++ /dev/null @@ -1,38 +0,0 @@ -# SPDX-FileCopyrightText: 2006-2025 Knut Reinert & Freie Universität Berlin -# SPDX-FileCopyrightText: 2016-2025 Knut Reinert & MPI für molekulare Genetik -# SPDX-License-Identifier: CC0-1.0 - -name: Hide bot comments - -on: - workflow_dispatch: - inputs: - author: - description: 'Comment author' - required: true - default: 'github-actions' - type: choice - options: - - github-actions - - github-actions[bot] - - seqan-actions - issue_number: - description: 'The issue number' - required: true - type: string - leave_visible: - description: 'The number of most recent comments to leave untouched' - required: false - default: '0' - -jobs: - hide-comments-action: - runs-on: ubuntu-latest - steps: - - name: Hide comments - uses: kanga333/comment-hider@v0.4.0 - with: - github_token: ${{ secrets.SEQAN_ACTIONS_PAT }} - hide_user_name: ${{ github.event.inputs.author }} - issue_number: ${{ github.event.inputs.issue_number }} - leave_visible: ${{ github.event.inputs.leave_visible }} diff --git a/test/documentation/seqan3_doxygen_cfg.in b/test/documentation/seqan3_doxygen_cfg.in index 169532e59b..ca8c6b21c6 100644 --- a/test/documentation/seqan3_doxygen_cfg.in +++ b/test/documentation/seqan3_doxygen_cfg.in @@ -134,7 +134,7 @@ CITE_BIB_FILES = #--------------------------------------------------------------------------- # Configuration options related to warning and progress messages #--------------------------------------------------------------------------- -QUIET = NO +QUIET = YES WARNINGS = YES WARN_IF_UNDOCUMENTED = YES WARN_IF_DOC_ERROR = YES