Skip to content

TST: extend GHA test matrix to current Python versions #42

TST: extend GHA test matrix to current Python versions

TST: extend GHA test matrix to current Python versions #42

Workflow file for this run

name: Jupyter Telemetry Unit Tests
on:
push:
branches: "*"
pull_request:
branches: "*"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
include:
- os: macos-12 # This runner is on Intel chips.
python-version: 3.9
- os: macos-14 # This runner is on M1 (arm64) chips.
python-version: '3.12'
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
architecture: "x64"
- name: Install the Python dependencies
run: |
pip install -e ".[test]"
- name: Run the tests
run: |
pytest jupyter_telemetry