Skip to content

Commit 69e4e17

Browse files
rfizzleclaude
andcommitted
ci(codecov): drop Codecov uploads from the reusable mod CI
Remove the coverage and unit/gametest result uploads (plus the CODECOV_TOKEN secret) from the reusable mod-ci workflow, and scrub the codecov.yml / CODECOV_TOKEN references from the docs. JaCoCo still runs; test reports still ship as workflow artifacts. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 9d8fb93 commit 69e4e17

4 files changed

Lines changed: 9 additions & 39 deletions

File tree

‎.github/workflows/mod-ci.yml‎

Lines changed: 4 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Concord — reusable CI for member mods.
22
#
33
# Replaces the per-repo ci.yml + test.yml pair: one gradle build (which
4-
# compiles, runs unit tests, and jars) with JaCoCo coverage + Codecov
5-
# uploads, plus a gametest job. Caller stub:
4+
# compiles, runs unit tests, and jars) with JaCoCo coverage, plus a
5+
# gametest job. Caller stub:
66
#
77
# name: CI
88
# on:
@@ -25,9 +25,6 @@ name: Mod CI
2525

2626
on:
2727
workflow_call:
28-
secrets:
29-
CODECOV_TOKEN:
30-
required: false
3128

3229
jobs:
3330
build:
@@ -51,24 +48,7 @@ jobs:
5148
- name: Build (compile + unit tests + jar) with coverage
5249
run: ./gradlew build jacocoTestReport --no-daemon --stacktrace
5350

54-
- name: Upload coverage to Codecov
55-
if: always()
56-
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
57-
with:
58-
token: ${{ secrets.CODECOV_TOKEN }}
59-
files: build/reports/jacoco/test/jacocoTestReport.xml
60-
flags: unit
61-
fail_ci_if_error: false
62-
63-
- name: Upload unit test results to Codecov
64-
if: always()
65-
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1
66-
with:
67-
token: ${{ secrets.CODECOV_TOKEN }}
68-
files: build/test-results/test/**/*.xml
69-
flags: unit
70-
71-
- name: Upload unit test report (fallback)
51+
- name: Upload unit test report
7252
if: always()
7353
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
7454
with:
@@ -98,15 +78,7 @@ jobs:
9878
- name: Run gametests
9979
run: ./gradlew runGametest --no-daemon --stacktrace
10080

101-
- name: Upload gametest results to Codecov
102-
if: always()
103-
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1
104-
with:
105-
token: ${{ secrets.CODECOV_TOKEN }}
106-
files: build/junit-gametest.xml
107-
flags: gametest
108-
109-
- name: Upload gametest report (fallback)
81+
- name: Upload gametest report
11082
if: always()
11183
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
11284
with:

‎AGENTS-COMMON.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ reference for producing a good one. The normative spec is concord's
7575
repo-local `.ai/review-criteria.yml` override exists). For player-facing
7676
work it scores a **Site docs** category — a feature, config, command, or
7777
gameplay change that ships without the matching `site/` page update is
78-
flagged. `ci.yml` runs the full build, unit tests + gametests, and uploads
79-
coverage + results to Codecov.
78+
flagged. `ci.yml` runs the full build, unit tests + gametests, with JaCoCo
79+
coverage.
8080
7. **Human review + merge.**
8181

8282
`@claude <message>` in any issue or PR comment also invokes Claude for ad-hoc

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jar prefix (`build/libs/<mod>-<version>.jar`), and gradle tasks `build` (compile
4646
unit tests + jar), `jacocoTestReport` (XML at
4747
`build/reports/jacoco/test/jacocoTestReport.xml`), `runGametest` (JUnit XML at
4848
`build/junit-gametest.xml`), and `printVersion`. Secrets per repo:
49-
`CODECOV_TOKEN` (optional), `CLAUDE_CODE_OAUTH_TOKEN` (for the Claude workflows).
49+
`CLAUDE_CODE_OAUTH_TOKEN` (for the Claude workflows).
5050
Each mod repo's stubs declare only triggers, concurrency, and permissions — the
5151
stub bodies are documented at the top of each reusable workflow.
5252

‎REPO-LAYOUT.md‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ and Prosperity.
2121
├── AGENTS.md # AI agent guidance: conventions, layout, lifecycle
2222
├── CLAUDE.md # symlink → AGENTS.md (Tribulation pattern)
2323
├── Makefile # task shortcuts wrapping gradle
24-
├── codecov.yml
2524
├── build.gradle / settings.gradle / gradle.properties
2625
├── gradlew / gradlew.bat / gradle/
2726
│
@@ -208,8 +207,7 @@ swallows a Java package of that name. Genuinely global junk (IDE/OS files,
208207
`art/logo.png`; add `icon-128.png` master (copy of the in-jar icon)
209208
- [x] **Delete stray `net/` directory** (compiled `.class` files at repo root) and
210209
gitignore the pattern
211-
- [x] Adopt the standard `.gitignore`; add `codecov.yml` (JaCoCo wired in CI;
212-
`CODECOV_TOKEN` secret still unset — upload is optional until added)
210+
- [x] Adopt the standard `.gitignore`
213211
- [x] Migrate `docs/` to `site/` content + `site.yml`; `docs/curseforge.md` →
214212
`site/listing-curseforge.md`; `listing-modrinth.md` added; legacy `docs/`
215213
deleted after verifying meridian.rfizzle.com live (Pages source: Actions)
@@ -253,7 +251,7 @@ swallows a Java package of that name. Genuinely global junk (IDE/OS files,
253251
- [ ] `docs/` stays empty until the site is built; add `CNAME`
254252
(`prosperity.rfizzle.com`) when Pages is enabled
255253
- [ ] Gradle scaffold, `Makefile`, `scripts/release.sh`, `src/` split source sets,
256-
`README.md`, `LICENSE`, `codecov.yml` arrive with Phase 1 of the build plan
254+
`README.md`, `LICENSE` arrive with Phase 1 of the build plan
257255

258256
---
259257

0 commit comments

Comments
 (0)