Skip to content

Commit 575dc05

Browse files
committed
Update CI to use setup-gap@v3
1 parent 8f434da commit 575dc05

1 file changed

Lines changed: 16 additions & 20 deletions

File tree

.github/workflows/CI.yml

Lines changed: 16 additions & 20 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,34 +19,30 @@ 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
34-
- stable-4.11
35-
- stable-4.10
36-
- stable-4.9
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
3731

3832
steps:
3933
- uses: actions/checkout@v6
40-
- uses: gap-actions/setup-gap@v2
34+
- uses: gap-actions/setup-gap@v3
4135
with:
42-
GAP_PKGS_TO_CLONE: "automata"
43-
GAPBRANCH: ${{ matrix.gap-branch }}
44-
- uses: gap-actions/build-pkg@v1
45-
- uses: gap-actions/run-pkg-tests@v3
46-
- uses: gap-actions/run-pkg-tests@v3
36+
gap-version: ${{ matrix.gap-version }}
37+
- uses: gap-actions/install-pkg@v1
4738
with:
48-
only-needed: true
49-
- uses: gap-actions/process-coverage@v2
39+
packages: "automata"
40+
- uses: gap-actions/build-pkg@v3
41+
- uses: gap-actions/run-pkg-tests@v4
42+
- uses: gap-actions/run-pkg-tests@v4
43+
with:
44+
mode: onlyneeded
45+
- uses: gap-actions/process-coverage@v3
5046
- uses: codecov/codecov-action@v6
5147
with:
5248
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)