Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/test-with-pip.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test with pip

on:
- pull_request
- workflow_dispatch

jobs:
tests:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.6', '3.8', '3.10']

runs-on: ${{ matrix.os }}

steps:
- name: Get apptools source
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies and local packages
run: |
python -m pip install --upgrade pip
python -m pip install .[h5,preferences]
- name: Run tests
run: |
mkdir testdir
cd testdir
python -m unittest discover -v apptools
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ['setuptools', 'wheel']
build-backend = 'setuptools.build_meta'