Make it easier to redirect ReadPackage calls #75
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
# Trigger the workflow on push or pull request | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
jobs: | |
# The CI test job | |
test: | |
name: GAP ${{ matrix.gap-branch }} | |
runs-on: ubuntu-latest | |
# Don't run this twice on PRs for branches pushed to the same repository | |
if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) }} | |
strategy: | |
fail-fast: false | |
matrix: | |
gap-branch: | |
- master | |
- stable-4.13 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: gap-actions/setup-gap@v2 | |
with: | |
GAPBRANCH: ${{ matrix.gap-branch }} | |
GAP_PKGS_TO_CLONE: "datastructures ChrisJefferson/QuickCheck" | |
GAP_PKGS_TO_BUILD: "io profiling datastructures json digraphs orb grape" | |
- uses: gap-actions/run-pkg-tests@v2 | |
- uses: gap-actions/process-coverage@v2 | |
- uses: codecov/codecov-action@v2 | |
# The documentation job | |
manual: | |
name: Build manuals | |
runs-on: ubuntu-latest | |
# Don't run this twice on PRs for branches pushed to the same repository | |
if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: gap-actions/setup-gap@v2 | |
with: | |
GAP_PKGS_TO_BUILD: '' | |
- uses: gap-actions/build-pkg-docs@v1 | |
with: | |
use-latex: 'true' | |
- name: 'Upload documentation' | |
uses: actions/upload-artifact@v2 | |
with: | |
name: manual | |
path: ./doc/manual.pdf |