chore(deps): update canonical/identity-team action to v1.9.1 (#571) #205
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: TIOBE Quality Checks | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| schedule: | |
| - cron: '0 7 1 * *' # Runs monthly on the 1st at 07:00 UTC | |
| jobs: | |
| TICS: | |
| runs-on: [ self-hosted, amd64, tiobe, noble ] | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 | |
| - name: Install project dependencies | |
| run: | | |
| find . -name '*requirements.txt' -exec echo Installing {} \; -exec pip install --break-system-packages -r {} \; | |
| pip install --break-system-packages tox psycopg | |
| - name: Run coverage tests | |
| run: | | |
| tox -e unit | |
| mkdir coverage | |
| mv coverage.xml ./coverage/ | |
| - name: Set TIOBE project name | |
| run: echo "PROJECT_NAME=$(basename "${{ github.repository }}")" >> $GITHUB_ENV | |
| - name: Run TICS quality analysis | |
| uses: tiobe/tics-github-action@768de18bedf164ee461bc9ef5e2f2fa1a20b122a # v3 | |
| with: | |
| mode: qserver | |
| viewerUrl: https://canonical.tiobe.com/tiobeweb/TICS/api/cfg?name=default | |
| ticsAuthToken: ${{ secrets.TICSAUTHTOKEN }} | |
| project: ${{ env.PROJECT_NAME }} | |
| installTics: true | |
| filelist: . | |
| recalc: ALL |