BrunoLevy / geogram

a programming library with geometric algorithms
Other
1.87k stars 128 forks source link

Publish test results to gh-pages #47

Open BrunoLevy opened 1 year ago

BrunoLevy commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

BrunoLevy commented 1 year ago

generate_reports.sh