forked from canonical/operator
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (26 loc) · 905 Bytes
/
tiobe.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: TIOBE Quality Checks
on:
workflow_dispatch:
schedule:
- cron: '0 7 1 * *'
jobs:
TICS:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# We could store the report from the regular run, but this is cheap to do and keeps this isolated.
- name: Set up Python
uses: actions/setup-python@v5
- name: Install dependencies
run: pip install tox~=4.2 coverage[toml] flake8 pylint websocket-client==1.* pyyaml==6.* pytest~=7.2 pytest-operator~=0.23
- name: Generate coverage report
run: |
tox -e coverage
- 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: operator
installTics: true