From 2b576517ddd98530a10d94cbe7019229b0464043 Mon Sep 17 00:00:00 2001 From: David Edler Date: Thu, 29 Feb 2024 17:27:18 +0100 Subject: [PATCH] chore(metrics) update tics after code coverage is produced --- .github/workflows/coverage.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index e9b0408848..0ce6decc73 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -85,6 +85,21 @@ jobs: path: coverage/playwright-report retention-days: 1 + - name: TICS GitHub Action + uses: tiobe/tics-github-action@v2 + with: + projectName: lxd-ui + ticsConfiguration: https://canonical.tiobe.com/tiobeweb/TICS/api/cfg?name=default + ticsAuthToken: ${{ secrets.TICS_AUTH_TOKEN }} + installTics: true + + - name: Upload TICS report + if: always() + uses: actions/upload-artifact@v4 + with: + name: tics-report + path: coverage/playwright-report + publish-coverage-report: name: publish-coverage-report runs-on: ubuntu-latest