adding badges
Some checks are pending
CI / shellcheck (push) Waiting to run

This commit is contained in:
Matthias Johnson 2026-02-15 11:26:27 -07:00
parent 7673787736
commit 3aa7f9e722
3 changed files with 22 additions and 0 deletions

17
.forgejo/workflows/ci.yml Normal file
View file

@ -0,0 +1,17 @@
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install ShellCheck
run: sudo apt-get update && sudo apt-get install -y shellcheck
- name: Run ShellCheck
run: shellcheck systab

View file

@ -37,6 +37,8 @@ Key functions: `parse_time` (time spec → OnCalendar), `_write_unit_files` (sha
Runs 58 tests against real systemd user timers covering job creation, job names, status, logs, disable/enable, notifications, time format parsing, error cases, and cleanup. All test jobs are cleaned up automatically via trap. Runs 58 tests against real systemd user timers covering job creation, job names, status, logs, disable/enable, notifications, time format parsing, error cases, and cleanup. All test jobs are cleaned up automatically via trap.
Tests require a real systemd user session (`systemctl --user`) and cannot run in containers. CI runs ShellCheck only; tests must be run locally before submitting changes.
## Notes ## Notes
- ShellCheck can be used for linting: `shellcheck systab`. - ShellCheck can be used for linting: `shellcheck systab`.

View file

@ -1,5 +1,8 @@
# systab # systab
[![ShellCheck](https://code.opennomad.com/opennomad/systab/actions/workflows/ci.yml/badge.svg)](https://code.opennomad.com/opennomad/systab/actions?workflow=ci.yml)
[![License: AGPL-3.0](https://img.shields.io/badge/License-AGPL--3.0-blue.svg)](LICENSE)
A cron/at-like interface for systemd user timers. Create, manage, and monitor scheduled jobs without writing unit files by hand. A cron/at-like interface for systemd user timers. Create, manage, and monitor scheduled jobs without writing unit files by hand.
<table> <table>