Skip to content

Commit 06e9431

Browse files
Add test analysis (libsemigroups#694)
1 parent 0920b03 commit 06e9431

3 files changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/compilers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
run: |
5151
mkdir -p m4
5252
./autogen.sh
53-
./configure CXX="$CXX" --disable-hpcombi
53+
./configure CXX="$CXX"
5454
- name: Build libsemigroups . . .
5555
run: make -j4
5656
- name: Build test_all . . .

.github/workflows/os.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
run: |
8181
mkdir -p m4
8282
./autogen.sh
83-
./configure CXX="$CXX" CXXFLAGS="$CXXFLAGS" --disable-hpcombi --disable-backward
83+
./configure CXX="$CXX" CXXFLAGS="$CXXFLAGS" --disable-backward
8484
- name: Build libsemigroups . . .
8585
run: make -j4
8686
- name: Build test_all . . .

.github/workflows/runtests.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,20 @@ jobs:
2828
run: |
2929
mkdir -p m4
3030
./autogen.sh
31-
./configure CXX="$CXX" CXXFLAGS="$CXXFLAGS" --disable-hpcombi
31+
./configure CXX="$CXX" CXXFLAGS="$CXXFLAGS"
3232
- name: Build libsemigroups . . .
3333
run: make -j4
3434
- name: Build test_all . . .
3535
run: make test_all -j4
3636
- name: Run the quick and standard tests . . .
37-
run: ./test_all "[quick],[standard]"
37+
run: ./test_all --reporter junit::out=junit.xml "[quick],[standard]"
38+
- name: Upload test results to Codecov
39+
if: ${{ !cancelled() && matrix.compiler == 'g++' }}
40+
uses: codecov/test-results-action@v1
41+
with:
42+
token: ${{ secrets.CODECOV_TOKEN }}
43+
fail_ci_if_error: true
44+
verbose: true
3845
benchmarks:
3946
name: Benchmarks compile
4047
timeout-minutes: 10

0 commit comments

Comments
 (0)