From 1d9e17b9a973b8ffc70b1fc12bd4ab66d45fde5f Mon Sep 17 00:00:00 2001 From: stertooy <5571903+stertooy@users.noreply.github.com> Date: Sat, 28 Mar 2026 15:58:43 +0100 Subject: [PATCH] Update `PackageInfo.g` and CI suite --- .github/workflows/CI.yml | 49 +++++++++++++++++++++++----------------- PackageInfo.g | 1 + 2 files changed, 29 insertions(+), 21 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1a6561d..726edbc 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -18,44 +18,51 @@ concurrency: jobs: # The CI test job test: - name: ${{ matrix.gap-branch }} + name: ${{ matrix.gap-version }} runs-on: ubuntu-latest strategy: fail-fast: false matrix: - gap-branch: - - master - - stable-4.15 - - stable-4.14 - - stable-4.13 - - stable-4.12 + gap-version: + - 'devel' + - '4.15' + - '4.14' + - '4.13' + - '4.12' pkgs-to-clone: - - datastructures NautyTracesInterface digraphs + - | + gap-packages/datastructures@devel + gap-packages/NautyTracesInterface@devel + digraphs/digraphs@devel steps: - name: "Checkout package repository" uses: actions/checkout@v6 - name: "Setup Python" - uses: actions/setup-python@v5 - - name: "Install dot2tex dependencies" - run: sudo apt install graphviz texlive preview-latex-style dot2tex + uses: actions/setup-python@v6 + with: + python-version: '3.x' - name: "Setup GAP" - uses: gap-actions/setup-gap@v2 + uses: gap-actions/setup-gap@v3 + with: + gap-version: ${{ matrix.gap-version }} + - name: "Clone packages" + uses: gap-actions/install-pkg@v1 with: - GAP_PKGS_TO_CLONE: "${{ matrix.pkgs-to-clone }}" - GAP_PKGS_TO_BUILD: "io orb profiling grape NautyTracesInterface datastructures digraphs" - GAPBRANCH: ${{ matrix.gap-branch }} + packages: ${{ matrix.pkgs-to-clone }} - name: "Build 'typeset' package" - uses: gap-actions/build-pkg@v1 + uses: gap-actions/build-pkg@v3 + with: + build-suggested-pkgs: 'recursive' # Also build packages suggested by digraphs - name: "Run 'typeset' package tests" - uses: gap-actions/run-pkg-tests@v3 + uses: gap-actions/run-pkg-tests@v4 - name: "Run 'typeset' package tests (with only needed packages loaded)" - uses: gap-actions/run-pkg-tests@v3 + uses: gap-actions/run-pkg-tests@v4 with: - only-needed: true + mode: onlyneeded - name: "Process test coverage" - uses: gap-actions/process-coverage@v2 + uses: gap-actions/process-coverage@v3 - name: "Publish code coverage" - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@v6 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/PackageInfo.g b/PackageInfo.g index 79a6606..bad90b0 100644 --- a/PackageInfo.g +++ b/PackageInfo.g @@ -66,6 +66,7 @@ Dependencies := rec( GAP := ">= 4.11", NeededOtherPackages := [ ], SuggestedOtherPackages := [["digraphs", ">=1.5.0"],], + NeededSystemPackages := rec( Ubuntu := [["dot2tex"], ["preview-latex-style"], ["texlive-pictures"]] ), ExternalConditions := [ ], ),