diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1efac38..43a4785 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -19,46 +19,44 @@ 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 - - stable-4.11 - - stable-4.10 + 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: "anupq io profiling" - GAP_PKGS_TO_CLONE: "anupq" - GAPBRANCH: ${{ matrix.gap-branch }} - - uses: gap-actions/build-pkg@v1 + gap-version: ${{ matrix.gap-version }} + - uses: gap-actions/install-pkg@v1 + with: + packages: "anupq" + - uses: gap-actions/build-pkg@v3 + with: + extra-pkgs: "anupq io profiling" - name: "Start SCSCP servers" run: | mkdir -p coverage GAPROOT="$HOME/gap" GAPOPTS="-l /tmp/gaproot; --cover coverage/test-server1.coverage" ./gapd.sh -p 26133 GAPROOT="$HOME/gap" GAPOPTS="-l /tmp/gaproot; --cover coverage/test-server2.coverage" ./gapd.sh -p 26134 sleep 5 - - uses: gap-actions/run-pkg-tests@v3 + - uses: gap-actions/run-pkg-tests@v4 with: - GAP_TESTFILE: "tst/testall.g" - - uses: gap-actions/run-pkg-tests@v3 + testfile: "tst/testall.g" + - uses: gap-actions/run-pkg-tests@v4 with: - GAP_TESTFILE: "tst/testall.g" - only-needed: true + testfile: "tst/testall.g" + mode: onlyneeded - name: "Stop SCSCP servers" run: | gap shutdown.g - - uses: gap-actions/process-coverage@v2 + - uses: gap-actions/process-coverage@v3 - uses: codecov/codecov-action@v6 with: token: ${{ secrets.CODECOV_TOKEN }}