At the end of the test.yml workflow. The updated test results are used to generate a new webpage.
Failing test scenarios are extracted from each generator and added to the test-results.json artefact to later place in the webpage.
The branch gh-pages is used for this and so cannot be used for development.
Currently the website only has one page with generator test results.
Fixed commit SHA in test.yml on a push.
Outstanding work required:
Once the test.yml workflow is complete on PR merge. The branch gh-pages will be created. After this happens:
In the Pages section of the repo settings:
gh-pages
is used for this and so cannot be used for development.Outstanding work required:
Once the test.yml workflow is complete on PR merge. The branch
gh-pages
will be created. After this happens: In thePages
section of the repo settings:Source
toDeploy from branch
gh-pages
set folder to\docs
Save
Linked PRs:
https://github.com/ScottLogic/openapi-forge-typescript/pull/26 https://github.com/ScottLogic/openapi-forge-csharp/pull/28