Some refactors to prepare for reactive / non-reactive combination #167
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
on: [pull_request] | |
jobs: | |
TICS: | |
name: TICS | |
runs-on: [self-hosted, linux, amd64, tiobe, jammy] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Run Unit Tests | |
run: | | |
pip install tox pylint flake8 -r ./requirements.txt | |
tox -e unit,coverage-report | |
rm -rf .tox | |
- name: TICS GitHub Action | |
uses: tiobe/tics-github-action@v3 | |
with: | |
mode: qserver | |
project: github-runner-operator | |
branchdir: ${{ github.workspace }} | |
viewerUrl: https://canonical.tiobe.com/tiobeweb/TICS/api/cfg?name=default | |
ticsAuthToken: ${{ secrets.TICSAUTHTOKEN }} | |
installTics: true | |
concurrency: | |
group: tics | |
cancel-in-progress: false |