Merge pull request #101 from SCedricThomas/auto-pr-84-20186 #270
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 'CI' | |
| on: | |
| push: | |
| branches: [prod, main] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Randomized delay (simulate CI wait) | |
| run: sleep $(( RANDOM % 21 )) # < 20s | |
| - name: Fake Checks | |
| run: echo "Checks completed successfully." | |
| specs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Randomized delay (simulate CI wait) | |
| run: sleep $(( RANDOM % 11 )) # < 10s | |
| - name: Fake Specs | |
| run: echo "Specs executed successfully." | |
| - name: Fake Coverage Summary | |
| run: | | |
| echo "## Code Coverage Summary" >> $GITHUB_STEP_SUMMARY | |
| echo "Line Coverage: 84.2%" >> $GITHUB_STEP_SUMMARY | |
| echo "Branch Coverage: 79.5%" >> $GITHUB_STEP_SUMMARY |