Update How to build a CI pipeline authored by Mohamed Aboud's avatar Mohamed Aboud
...@@ -21,4 +21,14 @@ run_pipeline: that's the name of the job to be performed that extends the Docker ...@@ -21,4 +21,14 @@ run_pipeline: that's the name of the job to be performed that extends the Docker
**More explanation of the run_pipeline job (what's under the script tag ?)** **More explanation of the run_pipeline job (what's under the script tag ?)**
![image](uploads/909e087a8d98c85a7bd1a1e82f4636d0/image.png)
** the first 4 lines are just insuring that our .sh files are executable
** running _Database.sh_ will calculate a database number based on the input pipeline ID, then write that number to a configuration file.
** running runPipeline.sh will initiate various tasks related to building, testing, and checking code quality.
![image](uploads/b528b88ad2044028f9493cbd85394aae/image.png)
these two jobs are both running in the flutter stage, they are executing Flutter tests for both the game manager and the companion app, generating test coverage reports using _genhtml_, and specifying artifacts (coverage reports) to be kept for 5 days.