Skip to content

Commit

Permalink
ci: run meson tests with unbuffer
Browse files Browse the repository at this point in the history
Fix the job name and disable the scheduler for now so the job can be
triggered manually.
  • Loading branch information
daniloegea committed Aug 13, 2024
1 parent 7c9d49d commit 045a373
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/tiobe.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: "TIOBE/TiCS"

on:
schedule:
- cron: '0 0 * * TUE'
on: workflow_dispatch
#on:
# schedule:
# - cron: '0 0 * * TUE'

jobs:
coverity:
tics:
if: github.repository == 'canonical/netplan'
runs-on: ubuntu-24.04

Expand All @@ -23,7 +24,7 @@ jobs:
# The build directory must be called _build. TIOBE will look for coverage data in it.
meson setup _build --prefix=/usr -Db_coverage=true
meson compile -C _build -v
meson test -C _build -v
unbuffer meson test -C _build -v
- name: Download and Install TICS
run: |
curl --silent --show-error "https://canonical.tiobe.com/tiobeweb/TICS/api/public/v1/fapi/installtics/Script?cfg=default&platform=linux&url=https://canonical.tiobe.com/tiobeweb/TICS/" > install_tics.sh
Expand Down

0 comments on commit 045a373

Please sign in to comment.