diff --git a/.github/workflows/tics.yaml b/.github/workflows/tics.yaml index 4dcd8081f..33563360f 100644 --- a/.github/workflows/tics.yaml +++ b/.github/workflows/tics.yaml @@ -1,24 +1,19 @@ -on: [pull_request] +on: [push] jobs: TICS: name: TICS - runs-on: [self-hosted, linux, amd64, tiobe, jammy] + strategy: + matrix: + runner: + - self-hosted-linux-amd64-resolute-medium-tiobe + - self-hosted-linux-amd64-resolute-large-tiobe + - self-hosted-linux-amd64-resolute-2xlarge-tiobe + runs-on: ${{ matrix.runner }} steps: - uses: actions/checkout@v6 with: fetch-depth: 0 - - name: Run Unit Tests (manager app) - run: | - cd github-runner-manager - pip install tox flake8 -r ./requirements.txt - tox -e unit,coverage-report - rm -rf .tox - - name: Run Unit Tests - run: | - pip install tox flake8 -r ./requirements.txt -r ./github-runner-manager/requirements.txt - tox -e unit,coverage-report - rm -rf .tox - name: TICS GitHub Action uses: tiobe/tics-github-action@v3 with: @@ -28,7 +23,3 @@ jobs: viewerUrl: https://canonical.tiobe.com/tiobeweb/TICS/api/cfg?name=default ticsAuthToken: ${{ secrets.TICSAUTHTOKEN }} installTics: true - -concurrency: - group: tics - cancel-in-progress: false