Skip to content

Update dist workflow for up/download-artifact v4 (#113) #76

Update dist workflow for up/download-artifact v4 (#113)

Update dist workflow for up/download-artifact v4 (#113) #76

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- master
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies and build
run: |
python -m pip install --upgrade pip
python -m pip install -v -e .[test]
- name: Run tests
run: python -m pytest