Repository: bearcove/loona (language: rust)

Issue:
Separate `generic`, `hpack` and `http2` tests when reporting
[Reports like these](https://github.com/hapsoc/hring/runs/11065085271) have multiple of the same sections, this makes it really hard to know where we stand:

<img width="625" alt="image" src="https://user-images.githubusercontent.com/7998310/220146830-221b8ae2-6e4f-4ca7-9591-280b3bef3406.png">



Discussion / hints:

Fix patch:
diff --git a/.github/workflows/report.yml b/.github/workflows/report-generic.yml
similarity index 70%
rename from .github/workflows/report.yml
rename to .github/workflows/report-generic.yml
index 4d62f193..6c9cad39 100644
--- a/.github/workflows/report.yml
+++ b/.github/workflows/report-generic.yml
@@ -1,4 +1,4 @@
-name: report
+name: report-generic
 
 on:
   workflow_run:
@@ -21,12 +21,9 @@ jobs:
       - name: Stub Git repo for test-reporter
         run: |
           git init
-      - name: Cat report file
-        run: |
-          cat h2spec-junit.xml
-      - name: Publish h2spec Report
+      - name: Publish h2spec-generic report
         uses: dorny/test-reporter@v1
         with:
-          name: h2spec results
-          path: h2spec-junit.xml
-          reporter: java-junit
\ No newline at end of file
+          name: h2spec-generic
+          path: h2spec-generic.xml
+          reporter: java-generic
\ No newline at end of file
diff --git a/.github/workflows/report-hpack.yml b/.github/workflows/report-hpack.yml
new file mode 100644
index 00000000..ee8bc4fb
--- /dev/null
+++ b/.github/workflows/report-hpack.yml
@@ -0,0 +1,29 @@
+name: report-hpack
+
+on:
+  workflow_run:
+    workflows: [test]
+    types: [completed]
+    
+permissions:
+  checks: write
+
+jobs:
+  checks:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Download h2spec Report
+        uses: dawidd6/action-download-artifact@v2
+        with:
+          name: h2spec-results
+          workflow: ${{ github.event.workflow.id }}
+          run_id: ${{ github.event.workflow_run.id }}
+      - name: Stub Git repo for test-reporter
+        run: |
+          git init
+      - name: Publish h2spec-hpack report
+        uses: dorny/test-reporter@v1
+        with:
+          name: h2spec-hpack
+          path: h2spec-hpack.xml
+          reporter: java-generic
\ No newline at end of file
diff --git a/.github/workflows/report-http2.yml b/.github/workflows/report-http2.yml
new file mode 100644
index 00000000..9559a58b
--- /dev/null
+++ b/.github/workflows/report-http2.yml
@@ -0,0 +1,29 @@
+name: report-http2
+
+on:
+  workflow_run:
+    workflows: [test]
+    types: [completed]
+    
+permissions:
+  checks: write
+
+jobs:
+  checks:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Download h2spec Report
+        uses: dawidd6/action-download-artifact@v2
+        with:
+          name: h2spec-results
+          workflow: ${{ github.event.workflow.id }}
+          run_id: ${{ github.event.workflow_run.id }}
+      - name: Stub Git repo for test-reporter
+        run: |
+          git init
+      - name: Publish h2spec-http2 report
+        uses: dorny/test-reporter@v1
+        with:
+          name: h2spec-http2
+          path: h2spec-http2.xml
+          reporter: java-generic
\ No newline at end of file
diff --git a/Justfile b/Justfile
index cfcfa069..0562e439 100644
--- a/Justfile
+++ b/Justfile
@@ -9,7 +9,9 @@ ci-test:
 	just build-testbed
 	cargo nextest run --manifest-path crates/hring-hpack/Cargo.toml --features interop-tests --release
 	cargo llvm-cov --no-report nextest --profile ci
-	cargo llvm-cov --no-report run --manifest-path test-crates/hring-h2spec/Cargo.toml -- -j 'target/h2spec-junit.xml'
+	cargo llvm-cov --no-report run --manifest-path test-crates/hring-h2spec/Cargo.toml -- generic -j 'target/h2spec-generic.xml'
+	cargo llvm-cov --no-report run --manifest-path test-crates/hring-h2spec/Cargo.toml -- hpack -j 'target/h2spec-hpack.xml'
+	cargo llvm-cov --no-report run --manifest-path test-crates/hring-h2spec/Cargo.toml -- http2 -j 'target/h2spec-http2.xml'
 	cargo llvm-cov report --lcov --output-path coverage.lcov
 	codecov
 


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index b9f7be5c..32b12fa4 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -37,5 +37,8 @@ jobs:
         if: always() # always run even if the previous step fails
         with:
           name: h2spec-results
-          path: 'target/h2spec-junit.xml'
-          retention-days: 30
+          path: |
+            target/h2spec-generic.xml
+            target/h2spec-hpack.xml
+            target/h2spec-http2.xml
+          retention-days: 280