Skip to content

Commit 87327d7

Browse files
pliablepixelsclaude
andcommitted
feat: add CI status badges and test workflow
- Add build status badges for all platforms (Android, macOS, Windows, Linux) - Add test status badge - Add release version and download count badges - Create test workflow that runs on release tags only - Remove legacy release notes file 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent d08faae commit 87327d7

3 files changed

Lines changed: 50 additions & 100 deletions

File tree

.github/workflows/test.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
tags:
6+
- 'zmNg-*'
7+
8+
jobs:
9+
unit-tests:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: '20'
20+
cache: 'npm'
21+
cache-dependency-path: app/package-lock.json
22+
23+
- name: Install dependencies
24+
working-directory: ./app
25+
run: npm ci
26+
27+
- name: Run unit tests
28+
working-directory: ./app
29+
run: npm run test:unit
30+
31+
- name: Generate coverage report
32+
working-directory: ./app
33+
run: npm run test:coverage
34+
35+
- name: Upload coverage reports
36+
uses: codecov/codecov-action@v4
37+
if: always()
38+
with:
39+
directory: ./app/coverage
40+
fail_ci_if_error: false
41+
env:
42+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# zmNg - Modern ZoneMinder Client
22

3+
[![Build Android](https://github.com/pliablepixels/zmNg/actions/workflows/build-android.yml/badge.svg)](https://github.com/pliablepixels/zmNg/actions/workflows/build-android.yml)
4+
[![Build macOS](https://github.com/pliablepixels/zmNg/actions/workflows/build-macos.yml/badge.svg)](https://github.com/pliablepixels/zmNg/actions/workflows/build-macos.yml)
5+
[![Build Windows](https://github.com/pliablepixels/zmNg/actions/workflows/build-windows.yml/badge.svg)](https://github.com/pliablepixels/zmNg/actions/workflows/build-windows.yml)
6+
[![Build Linux](https://github.com/pliablepixels/zmNg/actions/workflows/build-linux-amd64.yml/badge.svg)](https://github.com/pliablepixels/zmNg/actions/workflows/build-linux-amd64.yml)
7+
[![Tests](https://github.com/pliablepixels/zmNg/actions/workflows/test.yml/badge.svg)](https://github.com/pliablepixels/zmNg/actions/workflows/test.yml)
8+
[![GitHub release](https://img.shields.io/github/v/release/pliablepixels/zmNg)](https://github.com/pliablepixels/zmNg/releases)
9+
[![GitHub downloads](https://img.shields.io/github/downloads/pliablepixels/zmNg/total)](https://github.com/pliablepixels/zmNg/releases)
10+
311
<img src="app/assets/logo.png" align="right" width="120" />
412

513
A modern web and mobile application for ZoneMinder, providing a clean, intuitive interface for viewing live camera feeds, reviewing events, and managing multiple server profiles. It is a ground-up rewrite of the original [zmNinja](https://zmninja.zoneminder.com/) application, using modern web technologies and a more intuitive user interface. The code was 99% Claude CLI generated.

RELEASE-NOTES-0.0.2.md

Lines changed: 0 additions & 100 deletions
This file was deleted.

0 commit comments

Comments
 (0)