Skip to content

gap-actions/run-pkg-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

run-pkg-tests V2

This GitHub action runs the test-suite of a GAP package.

Usage

The action run-pkg-tests has to be called by the workflow of a GAP package. By default it runs the file tst/testall.g, gathering coverage while doing so.

Its behaviour can be customized via the inputs below.

Inputs

All of the following inputs are optional.

  • NO_COVERAGE:
    • Set to a non-empty string to suppress gathering coverage.
    • default: ''
  • GAP_TESTFILE:
    • The name of the GAP file to be read for executing the package tests.
    • default: 'tst/testall.g'

Example

The following is a minimal example to run this action.

name: CI

on:
  push:
  pull_request:

jobs:
  # The CI test job
  test:
    name: CI test
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4
      - uses: gap-actions/setup-gap@v2
      - uses: gap-actions/build-pkg@v1
      - uses: gap-actions/run-pkg-tests@v2

Contact

Please submit bug reports, suggestions for improvements and patches via the issue tracker.

License

The action run-pkg-tests is free software; you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your opinion) any later version. For details, see the file LICENSE distributed with this action or the FSF's own site.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •