34 lines
753 B
YAML
34 lines
753 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
- devel
|
|
|
|
jobs:
|
|
|
|
# take out unit tests
|
|
test:
|
|
name: Unit tests (Python ${{ matrix.python-version }})
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version:
|
|
- "3.11"
|
|
env:
|
|
QUAPY_TESTS_OMIT_LARGE_DATASETS: True
|
|
steps:
|
|
- 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
|
|
run: |
|
|
python -m pip install --upgrade pip setuptools wheel
|
|
python -m pip install -e .[bayes,composable,tests]
|
|
- name: Test with unittest
|
|
run: python -m unittest
|