TST: extend GHA test matrix to current Python versions #43
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |