From 8f6e44a23479f9fe6ef28c0a90e898eaad0136d2 Mon Sep 17 00:00:00 2001 From: Poiuy7312 Date: Sat, 16 Sep 2023 19:00:24 -0400 Subject: [PATCH] Removed python 3.10 from ubuntu. Added conditional --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 792c2510..dd9f8917 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,7 +24,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: ["3.10","3.11"] + python-version: ["3.11"] include: - os: macos-latest python-version: "3.11" @@ -40,6 +40,7 @@ jobs: # Run the mdl linting tool # Refers to .mdlrc file in repository - name: Run Markdown Linting + if: matrix.os == 'ubuntu-latest' uses: actionshub/markdownlint@main # Setup Python for the current language version - name: Setup Python ${{ matrix.python-version }} @@ -85,7 +86,7 @@ jobs: poetry run task test-coverage-silent > coverage.txt # Display the Coverage Report - name: Display Coverage - if: always() + if: always() && matrix.os == 'ubuntu-latest' run: | export TOTAL=$(python -c "import json;print(json.load(open('coverage.json'))['totals']['percent_covered_display'])") echo "total=$TOTAL" >> $GITHUB_ENV