Skip to content

Commit

Permalink
Merge branch 'stable-1.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
wilfwilson committed May 23, 2021
2 parents bc55fe2 + 0ab5f19 commit ccae5d3
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/gap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,27 @@ jobs:
run: |
curl --retry 5 -L -O "https://digraphs.github.io/Digraphs/${{ env.DIGRAPHS_LIB }}.tar.gz"
tar xf "${{ env.DIGRAPHS_LIB }}.tar.gz"
- name: "Run tst/testall.g"
- name: "Run DigraphsTestInstall"
if: ${{ always() }}
uses: gap-actions/run-pkg-tests@v2
with:
GAP_TESTFILE: "tst/github_actions/install.g"
- name: "Run DigraphsTestStandard"
if: ${{ always() }}
uses: gap-actions/run-pkg-tests@v2
with:
GAP_TESTFILE: "tst/github_actions/standard.g"
- name: "Run DigraphsTestManualExamples"
if: ${{ always() }}
uses: gap-actions/run-pkg-tests@v2
with:
GAP_TESTFILE: "tst/github_actions/examples.g"
- name: "Run DigraphsTestExtreme"
if: ${{ always() }}
uses: gap-actions/run-pkg-tests@v2
with:
GAP_TESTFILE: "tst/github_actions/extreme.g"
- uses: gap-actions/process-coverage@v2
if: ${{ always() }}
- uses: codecov/codecov-action@v1
if: ${{ always() }}
7 changes: 7 additions & 0 deletions tst/github_actions/examples.g
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
LoadPackage("digraphs", false);;
if DIGRAPHS_RunTest(DigraphsTestManualExamples) then
QUIT_GAP(0);
else
QUIT_GAP(1);
fi;
FORCE_QUIT_GAP(1);
7 changes: 7 additions & 0 deletions tst/github_actions/extreme.g
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
LoadPackage("digraphs", false);;
if DigraphsTestExtreme(rec(earlyStop := false)) then
QUIT_GAP(0);
else
QUIT_GAP(1);
fi;
FORCE_QUIT_GAP(1);
7 changes: 7 additions & 0 deletions tst/github_actions/install.g
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
LoadPackage("digraphs", false);;
if DigraphsTestInstall() then
QUIT_GAP(0);
else
QUIT_GAP(1);
fi;
FORCE_QUIT_GAP(1);
7 changes: 7 additions & 0 deletions tst/github_actions/standard.g
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
LoadPackage("digraphs", false);;
if DigraphsTestStandard(rec(earlyStop := false)) then
QUIT_GAP(0);
else
QUIT_GAP(1);
fi;
FORCE_QUIT_GAP(1);

0 comments on commit ccae5d3

Please sign in to comment.