Skip to content

Commit c790910

Browse files
committed
Update CI to use setup-gap@v3
1 parent a361822 commit c790910

1 file changed

Lines changed: 15 additions & 17 deletions

File tree

.github/workflows/CI.yml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: CI
44
on:
55
push:
66
branches:
7-
- master
7+
- devel
88
- main
99
pull_request:
1010

@@ -19,31 +19,29 @@ concurrency:
1919
jobs:
2020
# The CI test job
2121
test:
22-
name: ${{ matrix.gap-branch }}
22+
name: ${{ matrix.gap-version }}
2323
runs-on: ubuntu-latest
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
gap-branch:
28-
- master
29-
- stable-4.16
30-
- stable-4.15
31-
- stable-4.14
32-
- stable-4.13
33-
- stable-4.12
27+
gap-version:
28+
- 'devel' # current GAP development version from git
29+
- 'latest' # latest GAP release
30+
- 'minimal' # oldest GAP release supported by this package
3431

3532
steps:
3633
- uses: actions/checkout@v6
37-
- uses: gap-actions/setup-gap@v2
34+
- uses: gap-actions/setup-gap@v3
3835
with:
39-
GAP_PKGS_TO_BUILD: "io orb profiling datastructures digraphs grape"
40-
GAPBRANCH: ${{ matrix.gap-branch }}
41-
- uses: gap-actions/build-pkg@v1
42-
- uses: gap-actions/run-pkg-tests@v3
43-
- uses: gap-actions/run-pkg-tests@v3
36+
gap-version: ${{ matrix.gap-version }}
37+
- uses: gap-actions/build-pkg@v3
4438
with:
45-
only-needed: true
46-
- uses: gap-actions/process-coverage@v2
39+
extra-pkgs: "io orb profiling datastructures digraphs grape"
40+
- uses: gap-actions/run-pkg-tests@v4
41+
- uses: gap-actions/run-pkg-tests@v4
42+
with:
43+
mode: onlyneeded
44+
- uses: gap-actions/process-coverage@v3
4745
- uses: codecov/codecov-action@v6
4846
with:
4947
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)