Skip to content

Commit bf75fb1

Browse files
Joseph-Edwardsjames-d-mitchell
authored andcommitted
CI: Only upload coverage once
1 parent 83b3f53 commit bf75fb1

2 files changed

Lines changed: 8 additions & 10 deletions

File tree

.github/workflows/os.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ jobs:
3838
pkgs-to-clone: https://github.com/digraphs/graphviz.git https://github.com/gap-packages/NautyTracesInterface.git
3939
pkgs-to-build: io orb datastructures grape profiling NautyTracesInterface
4040

41-
4241
steps:
4342
- uses: actions/checkout@v5
4443
- uses: gap-actions/setup-cygwin@v2
@@ -93,22 +92,20 @@ jobs:
9392
uses: gap-actions/run-pkg-tests@v4
9493
with:
9594
testfile: tst/github_actions/install.g
95+
coverage: "false"
9696
- name: Run DigraphsTestStandard . . .
9797
uses: gap-actions/run-pkg-tests@v4
9898
with:
9999
testfile: tst/github_actions/standard.g
100+
coverage: "false"
100101
- name: Run DigraphsTestManualExamples . . .
101102
uses: gap-actions/run-pkg-tests@v4
102103
with:
103104
testfile: tst/github_actions/examples.g
105+
coverage: "false"
104106
- name: Run DigraphsTestExtreme . . .
105107
uses: gap-actions/run-pkg-tests@v4
106108
if: ${{ runner.os != 'Windows' }}
107109
with:
108110
testfile: tst/github_actions/extreme.g
109-
- uses: gap-actions/process-coverage@v3
110-
- uses: codecov/codecov-action@v5
111-
with:
112-
token: ${{ secrets.CODECOV_TOKEN }}
113-
# codecov/codecov-action seems unreliable on Windows
114-
fail_ci_if_error: ${{ runner.os != 'Windows' }}
111+
coverage: "false"

.github/workflows/ubuntu.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
pkgs-to-clone: https://github.com/digraphs/graphviz.git https://github.com/gap-packages/NautyTracesInterface.git
4242
pkgs-to-build: io orb datastructures profiling grape NautyTracesInterface
4343

44-
- gap-version: v4.11 # Note: NautyTracesInterface requires GAP 4.12
45-
mode: default # There wouldn't be much point testing GAP v4.11 with only needed packages. The only difference is whether Grape is loaded.
44+
- gap-version: v4.11 # Note: NautyTracesInterface requires GAP 4.12
45+
mode: default # There wouldn't be much point testing GAP v4.11 with only needed packages. The only difference is whether Grape is loaded.
4646
pkgs-to-clone: https://github.com/digraphs/graphviz.git
4747
pkgs-to-build: io* orb* datastructures* profiling* grape*
4848

@@ -92,7 +92,8 @@ jobs:
9292
testfile: tst/github_actions/extreme.g
9393
mode: ${{ matrix.mode }}
9494
- uses: gap-actions/process-coverage@v3
95+
if: ${{ matrix.gap-version == 'master' && matrix.mode == 'default'}}
9596
- uses: codecov/codecov-action@v5
97+
if: ${{ matrix.gap-version == 'master' && matrix.mode == 'default'}}
9698
with:
9799
token: ${{ secrets.CODECOV_TOKEN }}
98-
fail_ci_if_error: true

0 commit comments

Comments
 (0)