workflows: ci, tests: only run on 3.8 and 3.11 for PRs

This keeps CI jobs reasonable in PRs while testing the full set of
versions in the scheduled jobs and merges to dev and master.
pull/2002/head
Emilio López 1 year ago
parent af5e801973
commit 98480090db
  1. 2
      .github/workflows/ci.yml
  2. 2
      .github/workflows/test.yml

@ -26,7 +26,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest", "windows-2022"]
python: ["3.8", "3.9", "3.10", "3.11"]
python: ${{ (github.event_name == 'pull_request' && fromJSON('["3.8", "3.11"]')) || fromJSON('["3.8", "3.9", "3.10", "3.11"]') }}
type: ["cli",
"dapp",
"data_dependency",

@ -25,7 +25,7 @@ jobs:
matrix:
os: ["ubuntu-latest", "windows-2022"]
type: ["unit", "integration", "tool"]
python: ["3.8", "3.9", "3.10", "3.11"]
python: ${{ (github.event_name == 'pull_request' && fromJSON('["3.8", "3.11"]')) || fromJSON('["3.8", "3.9", "3.10", "3.11"]') }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python }}

Loading…
Cancel
Save