-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor testing pipeline #592
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
Signed-off-by: JVT038 <47184046+JVT038@users.noreply.github.com>
That is not something I want to go for. Every environment and build step should use the same docker setup. This guarantees our builds to be reproducible and isolated in all environments. |
I have managed to fix the CI pipeline and ensure that it all runs inside a docker container that's created from the Dockerfile image. |
I have generated HTTP tests for all endpoints defined in the OpenAPI specs.
Used command:
I think the addition of
@name
is a good one, because it makes it easier for us to see which tests have failed / passed.Besides that, this PR can be used as a start to test all the endpoints, because we can now just copy-paste the very basics into the
tests/rest/api
directory (where we'll be placing the actual tests).I have also changed the testing workflow, renaming
run_tests
torun_php_tests
and addingrun_http_tests
which should automatically run all the HTTP tests in the HTTP directory (not tested if this works though).This PR is just a draft, meant as an example, not as an actual solution.
Some references:
permission denied
after v3.1.0 on jobContainers when container user is not 'root' actions/checkout#956