Skip to content

Commit

Permalink
ci: Only run on Macos on python 3.9 and 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
pmav99 committed Dec 13, 2023
1 parent 6b04a58 commit bf336eb
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,32 @@ on:
- main
- master
paths:
- '**.py'
- '.github/workflows/*test*.yml'
- 'pyproject.toml'
- 'poetry.lock'
- 'requirements/requirements*.txt'
- "**.py"
- ".github/workflows/*test*.yml"
- "pyproject.toml"
- "poetry.lock"
- "requirements/requirements*.txt"
pull_request:
paths:
- '**.py'
- '.github/workflows/*test*.yml'
- 'pyproject.toml'
- 'poetry.lock'
- 'requirements/requirements*.txt'
- "**.py"
- ".github/workflows/*test*.yml"
- "pyproject.toml"
- "poetry.lock"
- "requirements/requirements*.txt"

jobs:
test:
name: test Python ${{ matrix.python }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
python: [ '3.9', '3.10', '3.11', '3.12' ]
os: [ubuntu-latest]
python: ["3.9", "3.10", "3.11", "3.12"]
include:
- os: "macos-latest"
python: "3.9"
- os: "macos-latest"
python: "3.12"
steps:
- uses: actions/checkout@main
- uses: actions/setup-python@main
Expand Down

0 comments on commit bf336eb

Please sign in to comment.