Merge pull request #279 from canonical/release-please--branches--main #6
This file contains 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 * *' | |
jobs: | |
TICS: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: python -m pip install tox | |
- name: Run tests | |
run: | | |
tox -e unit | |
mkdir coverage | |
cp .coverage coverage/ | |
- name: Get repo name | |
run: echo "REPO_NAME=$(echo ${{ github.repository }} | cut -d'/' -f2)" >> $GITHUB_ENV | |
- name: TICS GitHub Action | |
uses: tiobe/tics-github-action@v3 | |
with: | |
mode: qserver | |
viewerUrl: https://canonical.tiobe.com/tiobeweb/TICS/api/cfg?name=default | |
ticsAuthToken: ${{ secrets.TICSAUTHTOKEN }} | |
project: ${{ env.REPO_NAME }} | |
installTics: true | |
filelist: . | |
recalc: ALL |