Skip to content

Update minimum.yml #648

Update minimum.yml

Update minimum.yml #648

Workflow file for this run

name: Unit Tests Minimum Versions
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
pull_request:
types: [opened, reopened]
jobs:
minimum:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11','3.12']
os: [ubuntu-latest, windows-latest]
include:
- os: macos-latest
python-version: '3.8'
- os: macos-latest
python-version: '3.12'
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }} for arm64
if: ${{ matrix.os == 'macos-latest' && matrix.python-version == '3.8' }}
uses: "gabrielfalcao/pyenv-action@v17"
with:
default: ${{ matrix.python-version }}
- name: Set up Python ${{ matrix.python-version }}
if: matrix.os != 'macos-latest'
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install invoke .[test]
- name: Test with minimum versions
run: invoke minimum