Update CI test configurations

- Limit test-results step to 1 min in case a test hangs without
  generating a tapfile, as `make test-results` may re-run it.
- Limit Appveyor tests to 20 mins.
- Always run `make test-results` on GHA.
This commit is contained in:
Andrew Johnson
2021-04-06 18:05:46 -05:00
parent 0edf986c31
commit 348d1bba17
3 changed files with 5 additions and 4 deletions

View File

@ -111,7 +111,7 @@ test_script:
on_finish:
- ps: Get-ChildItem *.tap -Recurse -Force | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
- cmd: python .ci/cue.py build test-results -s
- cmd: python .ci/cue.py -T 1M test-results
on_failure:
- cmd: python -m ci_core_dumper report

View File

@ -113,11 +113,11 @@ build_script:
test_script:
- cmd: python -m ci_core_dumper install
- cmd: python .ci/cue.py test
- cmd: python .ci/cue.py -T 20M test
on_finish:
- ps: Get-ChildItem *.tap -Recurse -Force | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
- cmd: python .ci/cue.py build test-results -s
- cmd: python .ci/cue.py -T 1M test-results
on_failure:
- cmd: python -m ci_core_dumper report

View File

@ -171,4 +171,5 @@ jobs:
name: tapfiles ${{ matrix.name }}
path: '**/O.*/*.tap'
- name: Collect and show test results
run: python .ci/cue.py test-results
if: ${{ always() }}
run: python .ci/cue.py -T 1M test-results