T
T
topuserman2021-12-02 16:01:20
Continuous Integration
topuserman, 2021-12-02 16:01:20

GitHub Actions: continuous integration - what should be the result after the tests?

I have a question:
for example, I want to run autotests or syntax check when creating a pull-request on github.
Where should test results go? for example, if the tests fail, or the code style does not meet the requirements.
Those. the user creates a pull request, these tests are automatically launched - and then what? what does he see or do?
Will he have some kind of test status right in the country of the pull request?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2021-12-02
@fox_12

61a8d41f27003617891686.png
Each circle is a specific stage that starts after the successful completion of the previous one.
For example:
Uploaded the code for testing, checked for code quality, launched autotests, uploaded it to the server
If some stage fails, then other stages will not be launched and the commit will be marked as Failed
Successful result - green "passed". All stages were completed successfully. The code has been delivered to the target server.
Accordingly, if the result is Failed, then the output of the execution console with an error will be available there.
61a8d7ed2c4a4664171796.png
Do some work on the bugs and commit again.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question