Skip to content

chore: Sync with WeblateOrg/meta #641

chore: Sync with WeblateOrg/meta

chore: Sync with WeblateOrg/meta #641

Workflow file for this run

# Copyright © Michal Čihař <[email protected]>
#
# SPDX-License-Identifier: MIT
name: Tests
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-24.04
strategy:
matrix:
python-version:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: sudo apt update
- run: sudo apt install munin-node
- name: munin-node-configure
run: |
BLANKDIR=$(mktemp -d)
/usr/sbin/munin-node-configure --servicedir "$BLANKDIR" --sconfdir "$BLANKDIR" --libdir . --suggest --debug || true
/usr/sbin/munin-node-configure --servicedir "$BLANKDIR" --sconfdir "$BLANKDIR" --libdir . --suggest > test/out || true
diff -u test/expected test/out