Skip to content

Commit

Permalink
Removed python 3.10 from ubuntu. Added conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
Poiuy7312 committed Sep 16, 2023
1 parent d7a3f5a commit 8f6e44a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8f6e44a

Please sign in to comment.