From 0e6a2dac6603befad5671c168471ac4f1a93aba6 Mon Sep 17 00:00:00 2001
From: doodspav <doodspav@gmail.com>
Date: Thu, 21 Dec 2023 03:53:49 +0000
Subject: [PATCH] GHI #20 Try setting right versions of everything

---
 .github/workflows/test.yml | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 238f182fa..d75ca930c 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -147,11 +147,9 @@ jobs:
     needs:
       - test-native
       # - test-qemu
-    strategy:
-      matrix:
-        include:
-          - hi_limit: 100
-          - lo_limit: 90
+    env:
+      HI_LIMIT: 100
+      MED_LIMIT: 90
 
     steps:
       - name: Install Dependencies
@@ -194,10 +192,10 @@ jobs:
         run: |
           touch lcovrc
           
-          echo "genhtml_hi_limit = ${{ matrix.hi_limit }}" >> lcovrc
-          echo "genhtml_med_limit = ${{ matrix.med_limit }}" >> lcovrc
-          echo "genhtml_function_hi_limit = ${{ matrix.hi_limit }}" >> lcovrc
-          echo "genhtml_function_med_limit = ${{ matrix.med_limit }}" >> lcovrc
+          echo "genhtml_hi_limit = ${{ env.HI_LIMIT }}" >> lcovrc
+          echo "genhtml_med_limit = ${{ env.MED_LIMIT }}" >> lcovrc
+          echo "genhtml_function_hi_limit = ${{ env.HI_LIMIT }}" >> lcovrc
+          echo "genhtml_function_med_limit = ${{ env.MED_LIMIT }}" >> lcovrc
           
           echo "Contents of lcovrc:
           echo "-------------------"
@@ -224,9 +222,9 @@ jobs:
           path: test-coverage/
 
       - name: Create Coverage Summary
-        uses: irongut/CodeCoverageSummary@v1
+        uses: irongut/CodeCoverageSummary@v1.3
         with:
           filename: test-coverage/**/patomic.lcov
           badge: true
           fail_below_min: true
-          thresholds: '${{ matrix.med_limit }} ${{ matrix.hi_limit }}'
+          thresholds: '${{ env.MED_LIMIT }} ${{ env.HI_LIMIT }}'