Skip to content

Update test_package.yml #6

Update test_package.yml

Update test_package.yml #6

Workflow file for this run

name: Run tests of python package
on:
push:
branches:
- '**'
pull_request:
branches: [ 'main' ]
jobs:
run-tests:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version:
- '3.10'
- '3.11'
- '3.12'
- '3.13'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
- name: Test with pytest
run: |
python -m pytest