workflow update

This commit is contained in:
Aparna Jyothi 2025-09-09 19:41:43 +05:30
parent 9322b3ca74
commit 497ede19a6

View file

@ -15,45 +15,45 @@ on:
permissions: permissions:
contents: read contents: read
jobs: jobs:
python-pip-dependencies-caching: python-pip-dependencies-caching:
name: Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) name: Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }})
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: os:
[ [
ubuntu-latest, ubuntu-latest,
ubuntu-24.04-arm, ubuntu-24.04-arm,
ubuntu-22.04, ubuntu-22.04,
ubuntu-22.04-arm, ubuntu-22.04-arm,
windows-latest, windows-latest,
macos-latest, macos-latest,
macos-13 macos-13
] ]
python-version: python-version:
[ [
'3.9', '3.9',
'pypy-3.9-v7.x', 'pypy-3.9-v7.x',
'3.10', '3.10',
'pypy-3.10-v7.x', 'pypy-3.10-v7.x',
'3.11', '3.11',
'pypy-3.11-v7.x', 'pypy-3.11-v7.x',
'3.12', '3.12',
'3.13' '3.13'
] ]
exclude:
- os: windows-latest steps:
python-version: pypy-3.11-v7.x - uses: actions/checkout@v4
steps: - name: Setup Python
- uses: actions/checkout@v4 uses: ./
- name: Setup Python with:
uses: ./ python-version: ${{ matrix.python-version }}
with: cache: 'pip'
python-version: ${{ matrix.python-version }} - name: Install dependencies
cache: 'pip' run: |
- name: Install dependencies # Use a stable NumPy version that has prebuilt wheels for PyPy on all OSes
run: pip install numpy pandas requests pip install "numpy<2.1" pandas requests
python-pipenv-dependencies-caching: python-pipenv-dependencies-caching:
name: Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) name: Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }})