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
| # Description | |
| # =========== | |
| # This workflow is triggered each time | |
| # commits are pushed to GitHub or a pull request is opened. | |
| # It launches three jobs in parallel : a build with java 8, | |
| # a build with java 11 and a SonarCloud analysis. | |
| --- | |
| name: Stats generation | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| name: Stats for cnes report | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| - run: | | |
| pip install requests tabulate | |
| echo "# Downloads for sonar-cnes-report" > stats.md | |
| python ci_tools/stats_dl.py >> stats.md | |
| cat stats.md |