Skip to content

Commit

Permalink
GH Actions: fix python 3.7 installation
Browse files Browse the repository at this point in the history
  • Loading branch information
MetRonnie committed Jan 3, 2025
1 parent 8bd8016 commit 4890412
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
workflow_dispatch:
pull_request:
paths:
- '.github/workflows/build.yml'
- 'README.md' # check markdown is valid
- 'MANIFEST.in' # check packaging
- 'pyproject.toml' # check build config
Expand All @@ -24,10 +25,12 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest']
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
python: ['3.8', '3.9', '3.10', '3.11', '3.x']
include:
- os: 'macos-latest'
- os: ubuntu-22.04
python: '3.7'
- os: 'macos-latest'
python: '3.9'
name: ${{ matrix.os }} py-${{ matrix.python }}
steps:
- name: Checkout
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
coverage: [false]
include:
# Modify existing configurations:
Expand All @@ -29,11 +29,14 @@ jobs:
coverage: false
tz: 'XXX-05:30' # UTC+05:30
# Add new configurations:
- os: ubuntu-22.04
python-version: '3.7'
coverage: false
- os: ubuntu-latest
python-version: '3.12'
python-version: '3.x'
coverage: true
- os: macos-latest
python-version: '3.12'
python-version: '3.9'
coverage: false
name: ${{ matrix.os }} py-${{ matrix.python-version }} ${{ matrix.tz }} ${{ matrix.coverage && '(coverage)' || '' }}
env:
Expand Down

0 comments on commit 4890412

Please sign in to comment.