Skip to content

Move sources to src, make package version static (#32) #13

Move sources to src, make package version static (#32)

Move sources to src, make package version static (#32) #13

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: python3 -m pip install --upgrade pip
- name: Install ypywidgets in dev mode
run: |
pip install .[dev]
- name: Run tests
run: |
pytest ./tests -v --color=yes