Skip to content

Commit

Permalink
GHI #20 Try setting right versions of everything
Browse files Browse the repository at this point in the history
  • Loading branch information
doodspav committed Dec 21, 2023
1 parent a60177a commit 0e6a2da
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 "-------------------"
Expand All @@ -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 }}'

0 comments on commit 0e6a2da

Please sign in to comment.