Skip to content

Prepare for version 0.3.0 #130

Prepare for version 0.3.0

Prepare for version 0.3.0 #130

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Unit test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
unit-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", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
# Install dtaianomaly + all dependencies
- name: Install dtaianomaly
run: |
python -m pip install --upgrade pip
pip install .[tests]
pip list
- name: Test with pytest
run: |
pytest --cov=dtaianomaly --cov-report term-missing