Skip to content

build: slim release and python>=3.9 compat #149

build: slim release and python>=3.9 compat

build: slim release and python>=3.9 compat #149

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: Test Python
on:
pull_request:
branches: [ "main", "dev" ]
jobs:
testing:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10'] #3.11
os: [ubuntu-latest, macOS-latest] #,windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install .[all]
# - name: Analysing the code with pylint
# run: |
# pylint $(git ls-files '*.py')
continue-on-error: true
- name: Test with unittest
run: |
python -m unittest