From 3e9ba313dabdcd12ef2afdf3d29c693b821c9533 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 10 Jul 2026 12:02:01 +0200 Subject: [PATCH 1/4] Update CI to use setup-gap@v3 --- .github/workflows/CI.yml | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ef48b04..8d96da0 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -19,31 +19,29 @@ 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.16 - - stable-4.15 - - stable-4.14 - - stable-4.13 - - stable-4.12 + gap-version: + - 'devel' # current GAP development version from git + - 'latest' # latest GAP release + - 'minimal' # oldest GAP release supported by this package steps: - uses: actions/checkout@v6 - - uses: gap-actions/setup-gap@v2 + - uses: gap-actions/setup-gap@v3 with: - GAP_PKGS_TO_BUILD: "io orb profiling datastructures digraphs grape" - GAPBRANCH: ${{ matrix.gap-branch }} - - uses: gap-actions/build-pkg@v1 - - uses: gap-actions/run-pkg-tests@v3 - - uses: gap-actions/run-pkg-tests@v3 + gap-version: ${{ matrix.gap-version }} + - uses: gap-actions/build-pkg@v3 with: - only-needed: true - - uses: gap-actions/process-coverage@v2 + extra-pkgs: "io orb profiling datastructures digraphs grape" + - uses: gap-actions/run-pkg-tests@v4 + - uses: gap-actions/run-pkg-tests@v4 + with: + mode: onlyneeded + - uses: gap-actions/process-coverage@v3 - uses: codecov/codecov-action@v6 with: token: ${{ secrets.CODECOV_TOKEN }} From 2203ca67d780933a21714c5049840fa7021ee828 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 11 Jul 2026 09:51:54 +0200 Subject: [PATCH 2/4] simplify --- .github/workflows/CI.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8d96da0..8143242 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -35,8 +35,6 @@ jobs: with: gap-version: ${{ matrix.gap-version }} - uses: gap-actions/build-pkg@v3 - with: - extra-pkgs: "io orb profiling datastructures digraphs grape" - uses: gap-actions/run-pkg-tests@v4 - uses: gap-actions/run-pkg-tests@v4 with: From f29b56c3face15b83cd09550b079cd27cd01b933 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 11 Jul 2026 11:43:21 +0200 Subject: [PATCH 3/4] Add missing dependencies --- PackageInfo.g | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PackageInfo.g b/PackageInfo.g index 9a494ad..2a8d1f6 100644 --- a/PackageInfo.g +++ b/PackageInfo.g @@ -73,8 +73,9 @@ PackageDoc := rec( Dependencies := rec( GAP := ">= 4.12", - NeededOtherPackages := [ [ "GAPDoc", ">= 1.5" ] ], + NeededOtherPackages := [ [ "digraphs", ">= 1.6" ] ], SuggestedOtherPackages := [ ], + TestPackages := [ [ "grape", ">= 4.9.0" ] ], ExternalConditions := [ ], ), From 889c2cff8a7857336c7f923b8b19c110d9197d95 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 15 Jul 2026 23:53:57 +0200 Subject: [PATCH 4/4] Turn NautyDense into a 'global function' ... to fix warnings when loading NautyTracesInterface and digraphs together. --- gap/NautyGraph.gd | 2 ++ gap/NautyGraph.gi | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gap/NautyGraph.gd b/gap/NautyGraph.gd index 56f2fe2..8c7f715 100644 --- a/gap/NautyGraph.gd +++ b/gap/NautyGraph.gd @@ -402,3 +402,5 @@ DeclareGlobalFunction( "CREATE_NAUTY_GRAPH_OBJECT" ); DeclareGlobalFunction( "CREATE_NAUTY_EDGE_COLORED_GRAPH" ); +## +DeclareGlobalFunction( "NautyDense" ); diff --git a/gap/NautyGraph.gi b/gap/NautyGraph.gi index 97f7690..f34d806 100644 --- a/gap/NautyGraph.gi +++ b/gap/NautyGraph.gi @@ -436,7 +436,7 @@ end ); #! TODO: document this -BindGlobal( "NautyDense", +InstallGlobalFunction( "NautyDense", function( source_list, range_list, n, is_directed, color_data ) local graph; graph := NAUTY_GRAPH( source_list, range_list, n, is_directed );