Igor commited on
Commit
ff6533a
·
unverified ·
1 Parent(s): 8745cf0

CI: Add GitHub Actions workflow and status badge

Browse files
Files changed (2) hide show
  1. .github/workflows/ci.yml +43 -0
  2. README.md +2 -0
.github/workflows/ci.yml ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Shitposter CI
2
+
3
+ on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
+ branches: [ "main" ]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+
13
+ steps:
14
+ - uses: actions/checkout@v3
15
+
16
+ - name: Set up Python 3.9
17
+ uses: actions/setup-python@v3
18
+ with:
19
+ python-version: "3.9"
20
+
21
+ - name: Install dependencies
22
+ run: |
23
+ python -m pip install --upgrade pip
24
+ pip install -r requirements.txt
25
+
26
+ - name: Run CLI E2E Tests
27
+ run: python3 tests/test_e2e.py
28
+
29
+ - name: Run Local API Tests
30
+ run: |
31
+ # Start server in background (port 7860)
32
+ python3 server.py &
33
+ SERVER_PID=$!
34
+
35
+ # Give it time to boot
36
+ sleep 5
37
+
38
+ # Run API tests against localhost
39
+ export API_URL="http://localhost:7860"
40
+ python3 tests/test_api_e2e.py
41
+
42
+ # Cleanup
43
+ kill $SERVER_PID
README.md CHANGED
@@ -10,6 +10,8 @@ pinned: false
10
 
11
  # Shitposter Cipher
12
 
 
 
13
  **Shitposter Cipher** is a steganographic CLI tool designed for secure, plausibly deniable communication on AI-themed platforms like **Moltbook**, **OpenClawd**, and **Reddit**.
14
 
15
  It hides strong encryption (AES-256) inside "AI Technobabble" (e.g., "The tensor gradient is optimizing the latency...").
 
10
 
11
  # Shitposter Cipher
12
 
13
+ ![Build Status](https://github.com/igor53627/shitposter/actions/workflows/ci.yml/badge.svg)
14
+
15
  **Shitposter Cipher** is a steganographic CLI tool designed for secure, plausibly deniable communication on AI-themed platforms like **Moltbook**, **OpenClawd**, and **Reddit**.
16
 
17
  It hides strong encryption (AES-256) inside "AI Technobabble" (e.g., "The tensor gradient is optimizing the latency...").