Skip to content

Commit fa3fae9

Browse files
authored
Update omnipkg_vs_the_world.yml
1 parent 6b24f48 commit fa3fae9

1 file changed

Lines changed: 12 additions & 14 deletions

File tree

.github/workflows/omnipkg_vs_the_world.yml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
```yaml
12
name: 🥊 omnipkg vs The World - Battle & Resilience Test
23
34
on:
@@ -120,8 +121,7 @@ jobs:
120121
- name: 📊 Extract Current Stats from README
121122
run: |
122123
cat > extract_stats.py << 'EOF'
123-
import re
124-
import os
124+
import re, os
125125
from pathlib import Path
126126
127127
README_FILE = Path("README.md")
@@ -167,7 +167,7 @@ jobs:
167167
- name: 📊 Update Battle Report and README
168168
run: |
169169
cat > update_battle_report.py << 'EOF'
170-
import os, re
170+
import os
171171
from pathlib import Path
172172
from datetime import datetime
173173
@@ -198,17 +198,15 @@ jobs:
198198
print(f"Updated: omnipkg={omnipkg_wins}W/{omnipkg_losses}L/{omnipkg_saves}S, pip={pip_wins}W/{pip_losses}L, uv={uv_wins}W/{uv_losses}L")
199199
200200
badge = "[![💥 Nuclear Test: TensorFlow Dependency Hot-Swap](https://github.com/1minds3t/omnipkg/actions/workflows/test-tensorflow-switching.yml/badge.svg)](https://github.com/1minds3t/omnipkg/actions/workflows/test-tensorflow-switching.yml)"
201-
battle_stats = f"""\
202-
## 🥊 Package Manager Thunderdome {badge}
203-
204-
| Package Manager | Conflict Wins | Environment Saves | Verdict |
205-
|:----------------|:-------------:|:-----------------:|:--------|
206-
| **`omnipkg` 🚀** | **{omnipkg_wins}** ({omnipkg_wr}) | **{omnipkg_saves}** | ✅ Solves conflicts *and* heals environments |
207-
| **`pip` 💥** | {pip_wins} ({pip_wr}) | N/A | ❌ Mercilessly overwrites itself |
208-
| **`uv` ⚡️** | {uv_wins} ({uv_wr}) | N/A | ❌ Also overwrites itself (but faster!) |
209-
210-
### 📊 Latest Test: {test_timestamp} (UTC)
211-
"""
201+
battle_stats = (
202+
f"## 🥊 Package Manager Thunderdome {badge}\n\n"
203+
f"| Package Manager | Conflict Wins | Environment Saves | Verdict |\n"
204+
f"|:----------------|:-------------:|:-----------------:|:--------|\n"
205+
f"| **`omnipkg` 🚀** | **{omnipkg_wins}** ({omnipkg_wr}) | **{omnipkg_saves}** | ✅ Solves conflicts *and* heals environments |\n"
206+
f"| **`pip` 💥** | {pip_wins} ({pip_wr}) | N/A | ❌ Mercilessly overwrites itself |\n"
207+
f"| **`uv` ⚡️** | {uv_wins} ({uv_wr}) | N/A | ❌ Also overwrites itself (but faster!) |\n\n"
208+
f"### 📊 Latest Test: {test_timestamp} (UTC)\n"
209+
)
212210
213211
try:
214212
content = README_FILE.read_text(encoding='utf-8') if README_FILE.exists() else "# omnipkg\n\n"

0 commit comments

Comments
 (0)