Skip to content

Release v0.2.2

Release v0.2.2 #329

Workflow file for this run

name: Unittests
on:
# Allow to trigger the workflow manually (e.g. when deps changes)
workflow_dispatch:
# Run on pushes to main
push:
branches:
- main
# Run on pull requests to main (including test branches)
pull_request:
branches:
- main
jobs:
unittest-job:
runs-on: ubuntu-latest
timeout-minutes: 30
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}-${{ github.head_ref || 'none' }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
# Install deps
- uses: actions/setup-python@v4
with:
python-version: 3.10.14
# Uncomment to cache of pip dependencies (if tests too slow)
# cache: pip
# cache-dependency-path: '**/pyproject.toml'
- run: pip --version
- run: pip install -e .[dev,extras]
- run: pip freeze
# Run tests
- name: Run tests
run: python run_tests.py