geogram icon indicating copy to clipboard operation
geogram copied to clipboard

Publish test results to gh-pages

Open BrunoLevy opened this issue 2 years ago • 3 comments

Each test job publishes individually to test-results, which causes sometimes some concurrency issues. The way to go is probably to create a job executed once all tests are finished, and that downloads all the artifacts, then publishes everything to gh-pages. The difficulty is to make sure this job is always executed, even when one of the test fails... Success/failure flag could be raised by the last job in the loop (the one that publishes), but then it will be harder to see which jobs succeeded/failed (until we manage to publish a page with the status of all jobs at the same time)

BrunoLevy avatar Nov 28 '22 16:11 BrunoLevy

Created in the continuous.yml and nightly.yml workflows a job that downloads the artifacts, unpacks them and publishes the content to gh-pages. We still got a problem: it seems it downloads the previous version of the artifacts, not the one that was just generated in the same workflow.

BrunoLevy avatar Dec 04 '22 15:12 BrunoLevy

Works now ! (using actions/download-artifacts@v3)

BrunoLevy avatar Dec 05 '22 07:12 BrunoLevy

generate_reports.sh

  • [x] generate warnings and errors reports (from build_log.txt)
  • [ ] generate valgrind report
  • [ ] generate gcov report

BrunoLevy avatar Dec 05 '22 07:12 BrunoLevy