Skip to content

Merge pull request #279 from canonical/release-please--branches--main #6

Merge pull request #279 from canonical/release-please--branches--main

Merge pull request #279 from canonical/release-please--branches--main #6

Workflow file for this run

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